home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / thinkref / archive / THINKPascalUH2.1.sea / THINKPas Univ Hdr 2.1 / Interfaces / Files.p < prev    next >
Text File  |  1995-09-12  |  66KB  |  2,181 lines

  1. { Converted with MPW2TPas Tuesday, September 12, 1995 6:07:56 PM }
  2. {
  3.      File:        Files.p
  4.  
  5.      Contains:    File Manager (HFS and MFS) Interfaces.
  6.  
  7.      Version:    Technology:    System 7.5
  8.                  Package:    Universal Interfaces 2.1 in “MPW Latest” on ETO #18
  9.  
  10.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  11.                  All rights reserved.
  12.  
  13.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  14.                  stack.  Include the file and version information (from above)
  15.                  in the problem description and send to:
  16.                      Internet:    apple.bugs@applelink.apple.com
  17.                      AppleLink:    APPLE.BUGS
  18.  
  19. }
  20.  
  21.  UNIT Files;
  22.  INTERFACE
  23.  
  24.  
  25. {$IFC UNDEFINED __FILES__}
  26. {$SETC __FILES__ := 1}
  27.  
  28.   USES
  29.    ConditionalMacros, Types, MixedMode, OSUtils, Finder;
  30.  
  31. { $PUSH}
  32. { $ALIGN MAC68K}
  33. { $LibExport+}
  34.  
  35. CONST
  36.     fsAtMark                    = 0;
  37.     fsCurPerm                    = 0;
  38.     fsRdPerm                    = 1;
  39.     fInvisible                    = 16384;
  40.     fsWrPerm                    = 2;
  41.     fsRdWrPerm                    = 3;
  42.     fsRdWrShPerm                = 4;
  43.     fsFromStart                    = 1;
  44.     fsFromLEOF                    = 2;
  45.     fsFromMark                    = 3;
  46.     rdVerify                    = 64;
  47.     ioMapBuffer                    = 4;
  48.     ioModeReserved                = 8;
  49.     ioDirFlg                    = 4;                            { see IM IV-125 }
  50.     ioDirMask                    = $10;
  51.     fsRtParID                    = 1;
  52.     fsRtDirID                    = 2;
  53.  
  54. {$IFC OLDROUTINELOCATIONS }
  55.     fOnDesk                        = 1;
  56.     fHasBundle                    = 8192;
  57.     fTrash                        = -3;
  58.     fDesktop                    = -2;
  59.     fDisk                        = 0;
  60.  
  61. {$ENDC}
  62. { CatSearch SearchBits Constants }
  63.     fsSBPartialName                = 1;
  64.     fsSBFullName                = 2;
  65.     fsSBFlAttrib                = 4;
  66.     fsSBFlFndrInfo                = 8;
  67.     fsSBFlLgLen                    = 32;
  68.     fsSBFlPyLen                    = 64;
  69.     fsSBFlRLgLen                = 128;
  70.     fsSBFlRPyLen                = 256;
  71.     fsSBFlCrDat                    = 512;
  72.     fsSBFlMdDat                    = 1024;
  73.     fsSBFlBkDat                    = 2048;
  74.     fsSBFlXFndrInfo                = 4096;
  75.     fsSBFlParID                    = 8192;
  76.     fsSBNegate                    = 16384;
  77.     fsSBDrUsrWds                = 8;
  78.     fsSBDrNmFls                    = 16;
  79.     fsSBDrCrDat                    = 512;
  80.     fsSBDrMdDat                    = 1024;
  81.     fsSBDrBkDat                    = 2048;
  82.     fsSBDrFndrInfo                = 4096;
  83. { bit values for the above }
  84.     fsSBPartialNameBit            = 0;                            {ioFileName points to a substring}
  85.     fsSBFullNameBit                = 1;                            {ioFileName points to a match string}
  86.     fsSBFlAttribBit                = 2;                            {search includes file attributes}
  87.     fsSBFlFndrInfoBit            = 3;                            {search includes finder info}
  88.     fsSBFlLgLenBit                = 5;                            {search includes data logical length}
  89.     fsSBFlPyLenBit                = 6;                            {search includes data physical length}
  90.     fsSBFlRLgLenBit                = 7;                            {search includes resource logical length}
  91.     fsSBFlRPyLenBit                = 8;                            {search includes resource physical length}
  92.     fsSBFlCrDatBit                = 9;                            {search includes create date}
  93.     fsSBFlMdDatBit                = 10;                            {search includes modification date}
  94.     fsSBFlBkDatBit                = 11;                            {search includes backup date}
  95.     fsSBFlXFndrInfoBit            = 12;                            {search includes extended finder info}
  96.     fsSBFlParIDBit                = 13;                            {search includes file's parent ID}
  97.     fsSBNegateBit                = 14;                            {return all non-matches}
  98.     fsSBDrUsrWdsBit                = 3;                            {search includes directory finder info}
  99.     fsSBDrNmFlsBit                = 4;                            {search includes directory valence}
  100.     fsSBDrCrDatBit                = 9;                            {directory-named version of fsSBFlCrDatBit}
  101.     fsSBDrMdDatBit                = 10;                            {directory-named version of fsSBFlMdDatBit}
  102.     fsSBDrBkDatBit                = 11;                            {directory-named version of fsSBFlBkDatBit}
  103.     fsSBDrFndrInfoBit            = 12;                            {directory-named version of fsSBFlXFndrInfoBit}
  104.  
  105.     fsSBDrParID                    = 8192;
  106.     fsSBDrParIDBit                = 13;                            {directory-named version of fsSBFlParIDBit}
  107. { vMAttrib (GetVolParms) bit position constants }
  108.     bLimitFCBs                    = 31;
  109.     bLocalWList                    = 30;
  110.     bNoMiniFndr                    = 29;
  111.     bNoVNEdit                    = 28;
  112.     bNoLclSync                    = 27;
  113.     bTrshOffLine                = 26;
  114.     bNoSwitchTo                    = 25;
  115.     bNoDeskItems                = 20;
  116.     bNoBootBlks                    = 19;
  117.     bAccessCntl                    = 18;
  118.     bNoSysDir                    = 17;
  119.     bHasExtFSVol                = 16;
  120.     bHasOpenDeny                = 15;
  121.     bHasCopyFile                = 14;
  122.     bHasMoveRename                = 13;
  123.     bHasDesktopMgr                = 12;
  124.     bHasShortName                = 11;
  125.     bHasFolderLock                = 10;
  126.     bHasPersonalAccessPrivileges = 9;
  127.  
  128.     bHasUserGroupList            = 8;
  129.     bHasCatSearch                = 7;
  130.     bHasFileIDs                    = 6;
  131.     bHasBTreeMgr                = 5;
  132.     bHasBlankAccessPrivileges    = 4;
  133. { Desktop Database icon Constants }
  134.     kLargeIcon                    = 1;
  135.     kLarge4BitIcon                = 2;
  136.     kLarge8BitIcon                = 3;
  137.     kSmallIcon                    = 4;
  138.     kSmall4BitIcon                = 5;
  139.     kSmall8BitIcon                = 6;
  140.     kLargeIconSize                = 256;
  141.     kLarge4BitIconSize            = 512;
  142.     kLarge8BitIconSize            = 1024;
  143.     kSmallIconSize                = 64;
  144.     kSmall4BitIconSize            = 128;
  145.     kSmall8BitIconSize            = 256;
  146. { Foreign Privilege Model Identifiers }
  147.     fsUnixPriv                    = 1;
  148. { Version Release Stage Codes }
  149.     developStage                = $20;
  150.     alphaStage                    = $40;
  151.  
  152.     betaStage                    = $60;
  153.     finalStage                    = $80;
  154. { Authentication Constants }
  155.     kNoUserAuthentication        = 1;
  156.     kPassword                    = 2;
  157.     kEncryptPassword            = 3;
  158.     kTwoWayEncryptPassword        = 6;
  159.  
  160.     hFileInfo                    = 0;
  161.     dirInfo                        = 1;
  162.  
  163.     
  164. TYPE
  165.     CInfoType = SInt8;
  166.  
  167. { mapping codes (ioObjType) for MapName & MapID }
  168.  
  169. CONST
  170.     kOwnerID2Name                = 1;
  171.     kGroupID2Name                = 2;
  172.     kOwnerName2ID                = 3;
  173.     kGroupName2ID                = 4;
  174. { types of oj object to be returned (ioObjType) for _GetUGEntry }
  175.     kReturnNextUser                = 1;
  176.     kReturnNextGroup            = 2;
  177.     kReturnNextUG                = 3;
  178.  
  179. {$IFC OLDROUTINELOCATIONS }
  180. {
  181.     The following structures are being moved to Finder.i because
  182.     they are Finder centric.  See Finder constants above.
  183. }
  184.  
  185. TYPE
  186.     FInfo = RECORD
  187.         fdType:                    OSType;                                    {the type of the file}
  188.         fdCreator:                OSType;                                    {file's creator}
  189.         fdFlags:                INTEGER;                                {flags ex. hasbundle,invisible,locked, etc.}
  190.         fdLocation:                Point;                                    {file's location in folder}
  191.         fdFldr:                    INTEGER;                                {folder containing file}
  192.     END;
  193.  
  194.     FXInfo = RECORD
  195.         fdIconID:                INTEGER;                                {Icon ID}
  196.         fdUnused:                ARRAY [1..3] OF INTEGER;                {unused but reserved 6 bytes}
  197.         fdScript:                SInt8;                                    {Script flag and number}
  198.         fdXFlags:                SInt8;                                    {More flag bits}
  199.         fdComment:                INTEGER;                                {Comment ID}
  200.         fdPutAway:                LONGINT;                                {Home Dir ID}
  201.     END;
  202.  
  203.     DInfo = RECORD
  204.         frRect:                    Rect;                                    {folder rect}
  205.         frFlags:                INTEGER;                                {Flags}
  206.         frLocation:                Point;                                    {folder location}
  207.         frView:                    INTEGER;                                {folder view}
  208.     END;
  209.  
  210.     DXInfo = RECORD
  211.         frScroll:                Point;                                    {scroll position}
  212.         frOpenChain:            LONGINT;                                {DirID chain of open folders}
  213.         frScript:                SInt8;                                    {Script flag and number}
  214.         frXFlags:                SInt8;                                    {More flag bits}
  215.         frComment:                INTEGER;                                {comment}
  216.         frPutAway:                LONGINT;                                {DirID}
  217.     END;
  218.  
  219. {$ENDC}
  220.  
  221. TYPE
  222.     GetVolParmsInfoBuffer = RECORD
  223.         vMVersion:                INTEGER;                                {version number}
  224.         vMAttrib:                LONGINT;                                {bit vector of attributes (see vMAttrib constants)}
  225.         vMLocalHand:            Handle;                                    {handle to private data}
  226.         vMServerAdr:            LONGINT;                                {AppleTalk server address or zero}
  227.         vMVolumeGrade:            LONGINT;                                {approx. speed rating or zero if unrated}
  228.         vMForeignPrivID:        INTEGER;                                {foreign privilege model supported or zero if none}
  229.     END;
  230.  
  231.     ParmBlkPtr = ^ParamBlockRec;
  232.  
  233.     {
  234.         IOCompletionProcPtr uses register based parameters on the 68k and cannot
  235.         be written in or called from a high-level language without the help of
  236.         mixed mode or assembly glue.
  237.  
  238.         In:
  239.          => paramBlock      A0.L
  240.     }
  241.     IOCompletionProcPtr = Register68kProcPtr;  { register PROCEDURE IOCompletion(paramBlock: ParmBlkPtr); }
  242.     IOCompletionUPP = UniversalProcPtr;
  243.  
  244.     IOParam = RECORD
  245.         qLink:                    QElemPtr;
  246.         qType:                    INTEGER;
  247.         ioTrap:                    INTEGER;
  248.         ioCmdAddr:                Ptr;
  249.         ioCompletion:            IOCompletionUPP;
  250.         ioResult:                OSErr;
  251.         ioNamePtr:                StringPtr;
  252.         ioVRefNum:                INTEGER;
  253.         ioRefNum:                INTEGER;
  254.         ioVersNum:                SInt8;
  255.         ioPermssn:                SInt8;
  256.         ioMisc:                    Ptr;
  257.         ioBuffer:                Ptr;
  258.         ioReqCount:                LONGINT;
  259.         ioActCount:                LONGINT;
  260.         ioPosMode:                INTEGER;
  261.         ioPosOffset:            LONGINT;
  262.     END;
  263.  
  264.     IOParamPtr = ^IOParam;
  265.  
  266.     FileParam = RECORD
  267.         qLink:                    QElemPtr;
  268.         qType:                    INTEGER;
  269.         ioTrap:                    INTEGER;
  270.         ioCmdAddr:                Ptr;
  271.         ioCompletion:            IOCompletionUPP;
  272.         ioResult:                OSErr;
  273.         ioNamePtr:                StringPtr;
  274.         ioVRefNum:                INTEGER;
  275.         ioFRefNum:                INTEGER;
  276.         ioFVersNum:                SInt8;
  277.         filler1:                SInt8;
  278.         ioFDirIndex:            INTEGER;
  279.         ioFlAttrib:                SInt8;
  280.         ioFlVersNum:            SInt8;
  281.         ioFlFndrInfo:            FInfo;
  282.         ioFlNum:                LONGINT;
  283.         ioFlStBlk:                INTEGER;
  284.         ioFlLgLen:                LONGINT;
  285.         ioFlPyLen:                LONGINT;
  286.         ioFlRStBlk:                INTEGER;
  287.         ioFlRLgLen:                LONGINT;
  288.         ioFlRPyLen:                LONGINT;
  289.         ioFlCrDat:                LONGINT;
  290.         ioFlMdDat:                LONGINT;
  291.     END;
  292.  
  293.     FileParamPtr = ^FileParam;
  294.  
  295.     VolumeParam = RECORD
  296.         qLink:                    QElemPtr;
  297.         qType:                    INTEGER;
  298.         ioTrap:                    INTEGER;
  299.         ioCmdAddr:                Ptr;
  300.         ioCompletion:            IOCompletionUPP;
  301.         ioResult:                OSErr;
  302.         ioNamePtr:                StringPtr;
  303.         ioVRefNum:                INTEGER;
  304.         filler2:                LONGINT;
  305.         ioVolIndex:                INTEGER;
  306.         ioVCrDate:                LONGINT;
  307.         ioVLsBkUp:                LONGINT;
  308.         ioVAtrb:                INTEGER;
  309.         ioVNmFls:                INTEGER;
  310.         ioVDirSt:                INTEGER;
  311.         ioVBlLn:                INTEGER;
  312.         ioVNmAlBlks:            INTEGER;
  313.         ioVAlBlkSiz:            LONGINT;
  314.         ioVClpSiz:                LONGINT;
  315.         ioAlBlSt:                INTEGER;
  316.         ioVNxtFNum:                LONGINT;
  317.         ioVFrBlk:                INTEGER;
  318.     END;
  319.  
  320.     VolumeParamPtr = ^VolumeParam;
  321.  
  322.     CntrlParam = RECORD
  323.         qLink:                    QElemPtr;
  324.         qType:                    INTEGER;
  325.         ioTrap:                    INTEGER;
  326.         ioCmdAddr:                Ptr;
  327.         ioCompletion:            IOCompletionUPP;
  328.         ioResult:                OSErr;
  329.         ioNamePtr:                StringPtr;
  330.         ioVRefNum:                INTEGER;
  331.         ioCRefNum:                INTEGER;
  332.         csCode:                    INTEGER;
  333.         csParam:                ARRAY [0..10] OF INTEGER;
  334.     END;
  335.  
  336.     CntrlParamPtr = ^CntrlParam;
  337.  
  338.     SlotDevParam = RECORD
  339.         qLink:                    QElemPtr;
  340.         qType:                    INTEGER;
  341.         ioTrap:                    INTEGER;
  342.         ioCmdAddr:                Ptr;
  343.         ioCompletion:            IOCompletionUPP;
  344.         ioResult:                OSErr;
  345.         ioNamePtr:                StringPtr;
  346.         ioVRefNum:                INTEGER;
  347.         ioSRefNum:                INTEGER;
  348.         ioSVersNum:                SInt8;
  349.         ioSPermssn:                SInt8;
  350.         ioSMix:                    Ptr;
  351.         ioSFlags:                INTEGER;
  352.         ioSlot:                    SInt8;
  353.         ioID:                    SInt8;
  354.     END;
  355.  
  356.     SlotDevParamPtr = ^SlotDevParam;
  357.  
  358.     MultiDevParam = RECORD
  359.         qLink:                    QElemPtr;
  360.         qType:                    INTEGER;
  361.         ioTrap:                    INTEGER;
  362.         ioCmdAddr:                Ptr;
  363.         ioCompletion:            IOCompletionUPP;
  364.         ioResult:                OSErr;
  365.         ioNamePtr:                StringPtr;
  366.         ioVRefNum:                INTEGER;
  367.         ioMRefNum:                INTEGER;
  368.         ioMVersNum:                SInt8;
  369.         ioMPermssn:                SInt8;
  370.         ioMMix:                    Ptr;
  371.         ioMFlags:                INTEGER;
  372.         ioSEBlkPtr:                Ptr;
  373.     END;
  374.  
  375.     MultiDevParamPtr = ^MultiDevParam;
  376.  
  377.     ParamBlockRec = RECORD
  378.         qLink:                    QElemPtr;
  379.         qType:                    INTEGER;
  380.         ioTrap:                    INTEGER;
  381.         ioCmdAddr:                Ptr;
  382.         ioCompletion:            IOCompletionUPP;
  383.         ioResult:                OSErr;
  384.         ioNamePtr:                StringPtr;
  385.         ioVRefNum:                INTEGER;
  386.         CASE INTEGER OF
  387.         0: (
  388.             ioRefNum:                    INTEGER;
  389.             ioVersNum:                    SInt8;
  390.             ioPermssn:                    SInt8;
  391.             ioMisc:                        Ptr;
  392.             ioBuffer:                    Ptr;
  393.             ioReqCount:                    LONGINT;
  394.             ioActCount:                    LONGINT;
  395.             ioPosMode:                    INTEGER;
  396.             ioPosOffset:                LONGINT;
  397.            );
  398.         1: (
  399.             ioFRefNum:                    INTEGER;
  400.             ioFVersNum:                    SInt8;
  401.             filler1:                    SInt8;
  402.             ioFDirIndex:                INTEGER;
  403.             ioFlAttrib:                    SInt8;
  404.             ioFlVersNum:                SInt8;
  405.             ioFlFndrInfo:                FInfo;
  406.             ioFlNum:                    LONGINT;
  407.             ioFlStBlk:                    INTEGER;
  408.             ioFlLgLen:                    LONGINT;
  409.             ioFlPyLen:                    LONGINT;
  410.             ioFlRStBlk:                    INTEGER;
  411.             ioFlRLgLen:                    LONGINT;
  412.             ioFlRPyLen:                    LONGINT;
  413.             ioFlCrDat:                    LONGINT;
  414.             ioFlMdDat:                    LONGINT;
  415.            );
  416.         2: (
  417.             filler2:                    LONGINT;
  418.             ioVolIndex:                    INTEGER;
  419.             ioVCrDate:                    LONGINT;
  420.             ioVLsBkUp:                    LONGINT;
  421.             ioVAtrb:                    INTEGER;
  422.             ioVNmFls:                    INTEGER;
  423.             ioVDirSt:                    INTEGER;
  424.             ioVBlLn:                    INTEGER;
  425.             ioVNmAlBlks:                INTEGER;
  426.             ioVAlBlkSiz:                LONGINT;
  427.             ioVClpSiz:                    LONGINT;
  428.             ioAlBlSt:                    INTEGER;
  429.             ioVNxtFNum:                    LONGINT;
  430.             ioVFrBlk:                    INTEGER;
  431.            );
  432.         3: (
  433.             ioCRefNum:                    INTEGER;
  434.             csCode:                        INTEGER;
  435.             csParam:                    ARRAY [0..10] OF INTEGER;
  436.            );
  437.         4: (
  438.             ioSRefNum:                    INTEGER;
  439.             ioSVersNum:                    SInt8;
  440.             ioSPermssn:                    SInt8;
  441.             ioSMix:                        Ptr;
  442.             ioSFlags:                    INTEGER;
  443.             ioSlot:                        SInt8;
  444.             ioID:                        SInt8;
  445.            );
  446.         5: (
  447.             ioMRefNum:                    INTEGER;
  448.             ioMVersNum:                    SInt8;
  449.             ioMPermssn:                    SInt8;
  450.             ioMMix:                        Ptr;
  451.             ioMFlags:                    INTEGER;
  452.             ioSEBlkPtr:                    Ptr;
  453.            );
  454.     END;
  455.  
  456.     CInfoPBRec = RECORD
  457.         qLink:                    QElemPtr;
  458.         qType:                    INTEGER;
  459.         ioTrap:                    INTEGER;
  460.         ioCmdAddr:                Ptr;
  461.         ioCompletion:            IOCompletionUPP;
  462.         ioResult:                OSErr;
  463.         ioNamePtr:                StringPtr;
  464.         ioVRefNum:                INTEGER;
  465.         ioFRefNum:                INTEGER;
  466.         ioFVersNum:                SInt8;
  467.         filler1:                SInt8;
  468.         ioFDirIndex:            INTEGER;
  469.         ioFlAttrib:                SInt8;
  470.         ioACUser:                SInt8;
  471.         CASE INTEGER OF
  472.         0: (
  473.             ioFlFndrInfo:                FInfo;
  474.             ioDirID:                    LONGINT;
  475.             ioFlStBlk:                    INTEGER;
  476.             ioFlLgLen:                    LONGINT;
  477.             ioFlPyLen:                    LONGINT;
  478.             ioFlRStBlk:                    INTEGER;
  479.             ioFlRLgLen:                    LONGINT;
  480.             ioFlRPyLen:                    LONGINT;
  481.             ioFlCrDat:                    LONGINT;
  482.             ioFlMdDat:                    LONGINT;
  483.             ioFlBkDat:                    LONGINT;
  484.             ioFlXFndrInfo:                FXInfo;
  485.             ioFlParID:                    LONGINT;
  486.             ioFlClpSiz:                    LONGINT;
  487.            );
  488.         1: (
  489.             ioDrUsrWds:                    DInfo;
  490.             ioDrDirID:                    LONGINT;
  491.             ioDrNmFls:                    INTEGER;
  492.             filler3:                    ARRAY [1..9] OF INTEGER;
  493.             ioDrCrDat:                    LONGINT;
  494.             ioDrMdDat:                    LONGINT;
  495.             ioDrBkDat:                    LONGINT;
  496.             ioDrFndrInfo:                DXInfo;
  497.             ioDrParID:                    LONGINT;
  498.            );
  499.     END;
  500.  
  501.     CInfoPBPtr = ^CInfoPBRec;
  502.  
  503.     CatPositionRec = RECORD
  504.         initialize:                LONGINT;
  505.         priv:                    ARRAY [1..6] OF INTEGER;
  506.     END;
  507.  
  508.     FSSpec = RECORD
  509.         vRefNum:                INTEGER;
  510.         parID:                    LONGINT;
  511.         name:                    Str63;
  512.     END;
  513.  
  514.     FSSpecPtr = ^FSSpec;
  515.     FSSpecHandle = ^FSSpecPtr;
  516.  
  517. { pointer to array of FSSpecs }
  518.     FSSpecArrayPtr = FSSpecPtr;
  519.  
  520. { The only difference between "const FSSpec*" and "ConstFSSpecPtr" is 
  521.    that as a parameter, ConstFSSpecPtr is allowed to be NULL }
  522.     ConstFSSpecPtr = ^FSSpec;
  523.  
  524. { The following are structures to be filled out with the _GetVolMountInfo call
  525.  and passed back into the _VolumeMount call for external file system mounts. }
  526. { the "signature" of the file system }
  527.     VolumeType = OSType;
  528.  
  529.  
  530. CONST
  531. { the signature for AppleShare }
  532.     AppleShareMediaType            = 'afpm';
  533.  
  534. {$IFC NOT OLDROUTINELOCATIONS }
  535.  
  536. TYPE
  537.     VolMountInfoHeader = RECORD
  538.         length:                    INTEGER;                                { length of location data (including self) }
  539.         media:                    VolumeType;                                { type of media.  Variable length data follows }
  540.     END;
  541.  
  542.     VolMountInfoPtr = ^VolMountInfoHeader;
  543.  
  544. { The new volume mount info record.  The old one is included for compatibility. 
  545.     the new record allows access by foriegn filesystems writers to the flags 
  546.     portion of the record. This portion is now public.  }
  547.     VolumeMountInfoHeader = RECORD
  548.         length:                    INTEGER;                                { length of location data (including self) }
  549.         media:                    VolumeType;                                { type of media (must be registered with Apple) }
  550.         flags:                    INTEGER;                                { volume mount flags. Variable length data follows }
  551.     END;
  552.  
  553.     VolumeMountInfoHeaderPtr = ^VolumeMountInfoHeader;
  554.  
  555. {    additional volume mount flags }
  556.  
  557. CONST
  558.     volMountInteractBit            = 15;                            { Input to VolumeMount: If set, it's OK for the file system }
  559.     volMountInteractMask        = $8000;                        { to perform user interaction to mount the volume }
  560.     volMountChangedBit            = 14;                            { Output from VoumeMount: If set, the volume was mounted, but }
  561.     volMountChangedMask            = $4000;                        { the volume mounting information record needs to be updated. }
  562.     volMountFSReservedMask        = $00ff;                        { bits 0-7 are defined by each file system for its own use }
  563.     volMountSysReservedMask        = $ff00;                        { bits 8-15 are reserved for Apple system use }
  564.  
  565. {$ENDC}
  566.  
  567. TYPE
  568.     AFPVolMountInfo = RECORD
  569.         length:                    INTEGER;                                { length of location data (including self) }
  570.         media:                    VolumeType;                                { type of media }
  571.         flags:                    INTEGER;                                { bits for no messages, no reconnect }
  572.         nbpInterval:            SInt8;                                    { NBP Interval parameter (IM2, p.322) }
  573.         nbpCount:                SInt8;                                    { NBP Interval parameter (IM2, p.322) }
  574.         uamType:                INTEGER;                                { User Authentication Method }
  575.         zoneNameOffset:            INTEGER;                                { short positive offset from start of struct to Zone Name }
  576.         serverNameOffset:        INTEGER;                                { offset to pascal Server Name string }
  577.         volNameOffset:            INTEGER;                                { offset to pascal Volume Name string }
  578.         userNameOffset:            INTEGER;                                { offset to pascal User Name string }
  579.         userPasswordOffset:        INTEGER;                                { offset to pascal User Password string }
  580.         volPasswordOffset:        INTEGER;                                { offset to pascal Volume Password string }
  581.         AFPData:                PACKED ARRAY [1..144] OF CHAR;            { variable length data may follow }
  582.     END;
  583.  
  584.     AFPVolMountInfoPtr = ^AFPVolMountInfo;
  585.  
  586.     DTPBRec = RECORD
  587.         qLink:                    QElemPtr;
  588.         qType:                    INTEGER;
  589.         ioTrap:                    INTEGER;
  590.         ioCmdAddr:                Ptr;
  591.         ioCompletion:            IOCompletionUPP;
  592.         ioResult:                OSErr;
  593.         ioNamePtr:                StringPtr;
  594.         ioVRefNum:                INTEGER;
  595.         ioDTRefNum:                INTEGER;                                { desktop refnum }
  596.         ioIndex:                INTEGER;
  597.         ioTagInfo:                LONGINT;
  598.         ioDTBuffer:                Ptr;
  599.         ioDTReqCount:            LONGINT;
  600.         ioDTActCount:            LONGINT;
  601.         ioFiller1:                SInt8;
  602.         ioIconType:                SInt8;
  603.         ioFiller2:                INTEGER;
  604.         ioDirID:                LONGINT;
  605.         ioFileCreator:            OSType;
  606.         ioFileType:                OSType;
  607.         ioFiller3:                LONGINT;
  608.         ioDTLgLen:                LONGINT;
  609.         ioDTPyLen:                LONGINT;
  610.         ioFiller4:                ARRAY [1..14] OF INTEGER;
  611.         ioAPPLParID:            LONGINT;
  612.     END;
  613.  
  614.     DTPBPtr = ^DTPBRec;
  615.  
  616.     HIOParam = RECORD
  617.         qLink:                    QElemPtr;
  618.         qType:                    INTEGER;
  619.         ioTrap:                    INTEGER;
  620.         ioCmdAddr:                Ptr;
  621.         ioCompletion:            IOCompletionUPP;
  622.         ioResult:                OSErr;
  623.         ioNamePtr:                StringPtr;
  624.         ioVRefNum:                INTEGER;
  625.         ioRefNum:                INTEGER;
  626.         ioVersNum:                SInt8;
  627.         ioPermssn:                SInt8;
  628.         ioMisc:                    Ptr;
  629.         ioBuffer:                Ptr;
  630.         ioReqCount:                LONGINT;
  631.         ioActCount:                LONGINT;
  632.         ioPosMode:                INTEGER;
  633.         ioPosOffset:            LONGINT;
  634.     END;
  635.  
  636.     HIOParamPtr = ^HIOParam;
  637.  
  638.     HFileParam = RECORD
  639.         qLink:                    QElemPtr;
  640.         qType:                    INTEGER;
  641.         ioTrap:                    INTEGER;
  642.         ioCmdAddr:                Ptr;
  643.         ioCompletion:            IOCompletionUPP;
  644.         ioResult:                OSErr;
  645.         ioNamePtr:                StringPtr;
  646.         ioVRefNum:                INTEGER;
  647.         ioFRefNum:                INTEGER;
  648.         ioFVersNum:                SInt8;
  649.         filler1:                SInt8;
  650.         ioFDirIndex:            INTEGER;
  651.         ioFlAttrib:                SInt8;
  652.         ioFlVersNum:            SInt8;
  653.         ioFlFndrInfo:            FInfo;
  654.         ioDirID:                LONGINT;
  655.         ioFlStBlk:                INTEGER;
  656.         ioFlLgLen:                LONGINT;
  657.         ioFlPyLen:                LONGINT;
  658.         ioFlRStBlk:                INTEGER;
  659.         ioFlRLgLen:                LONGINT;
  660.         ioFlRPyLen:                LONGINT;
  661.         ioFlCrDat:                LONGINT;
  662.         ioFlMdDat:                LONGINT;
  663.     END;
  664.  
  665.     HFileParamPtr = ^HFileParam;
  666.  
  667.     HVolumeParam = RECORD
  668.         qLink:                    QElemPtr;
  669.         qType:                    INTEGER;
  670.         ioTrap:                    INTEGER;
  671.         ioCmdAddr:                Ptr;
  672.         ioCompletion:            IOCompletionUPP;
  673.         ioResult:                OSErr;
  674.         ioNamePtr:                StringPtr;
  675.         ioVRefNum:                INTEGER;
  676.         filler2:                LONGINT;
  677.         ioVolIndex:                INTEGER;
  678.         ioVCrDate:                LONGINT;
  679.         ioVLsMod:                LONGINT;
  680.         ioVAtrb:                INTEGER;
  681.         ioVNmFls:                INTEGER;
  682.         ioVBitMap:                INTEGER;
  683.         ioAllocPtr:                INTEGER;
  684.         ioVNmAlBlks:            INTEGER;
  685.         ioVAlBlkSiz:            LONGINT;
  686.         ioVClpSiz:                LONGINT;
  687.         ioAlBlSt:                INTEGER;
  688.         ioVNxtCNID:                LONGINT;
  689.         ioVFrBlk:                INTEGER;
  690.         ioVSigWord:                INTEGER;
  691.         ioVDrvInfo:                INTEGER;
  692.         ioVDRefNum:                INTEGER;
  693.         ioVFSID:                INTEGER;
  694.         ioVBkUp:                LONGINT;
  695.         ioVSeqNum:                INTEGER;
  696.         ioVWrCnt:                LONGINT;
  697.         ioVFilCnt:                LONGINT;
  698.         ioVDirCnt:                LONGINT;
  699.         ioVFndrInfo:            ARRAY [1..8] OF LONGINT;
  700.     END;
  701.  
  702.     HVolumeParamPtr = ^HVolumeParam;
  703.  
  704.  
  705. CONST
  706. { Large Volume Constants }
  707.     kWidePosOffsetBit            = 8;
  708.     kMaximumBlocksIn4GB            = $007FFFFF;
  709.  
  710.  
  711. TYPE
  712.     XIOParam = RECORD
  713.         qLink:                    QElemPtr;
  714.         qType:                    INTEGER;
  715.         ioTrap:                    INTEGER;
  716.         ioCmdAddr:                Ptr;
  717.         ioCompletion:            IOCompletionUPP;
  718.         ioResult:                OSErr;
  719.         ioNamePtr:                StringPtr;
  720.         ioVRefNum:                INTEGER;
  721.         ioRefNum:                INTEGER;
  722.         ioVersNum:                SInt8;
  723.         ioPermssn:                SInt8;
  724.         ioMisc:                    Ptr;
  725.         ioBuffer:                Ptr;
  726.         ioReqCount:                LONGINT;
  727.         ioActCount:                LONGINT;
  728.         ioPosMode:                INTEGER;                                { must have kUseWidePositioning bit set }
  729.         ioWPosOffset:            wide;                                    { wide positioning offset }
  730.     END;
  731.  
  732.     XIOParamPtr = ^XIOParam;
  733.  
  734.     XVolumeParam = RECORD
  735.         qLink:                    QElemPtr;
  736.         qType:                    INTEGER;
  737.         ioTrap:                    INTEGER;
  738.         ioCmdAddr:                Ptr;
  739.         ioCompletion:            IOCompletionUPP;
  740.         ioResult:                OSErr;
  741.         ioNamePtr:                StringPtr;
  742.         ioVRefNum:                INTEGER;
  743.         ioXVersion:                LONGINT;                                { this XVolumeParam version (0) }
  744.         ioVolIndex:                INTEGER;
  745.         ioVCrDate:                LONGINT;
  746.         ioVLsMod:                LONGINT;
  747.         ioVAtrb:                INTEGER;
  748.         ioVNmFls:                INTEGER;
  749.         ioVBitMap:                INTEGER;
  750.         ioAllocPtr:                INTEGER;
  751.         ioVNmAlBlks:            INTEGER;
  752.         ioVAlBlkSiz:            LONGINT;
  753.         ioVClpSiz:                LONGINT;
  754.         ioAlBlSt:                INTEGER;
  755.         ioVNxtCNID:                LONGINT;
  756.         ioVFrBlk:                INTEGER;
  757.         ioVSigWord:                INTEGER;
  758.         ioVDrvInfo:                INTEGER;
  759.         ioVDRefNum:                INTEGER;
  760.         ioVFSID:                INTEGER;
  761.         ioVBkUp:                LONGINT;
  762.         ioVSeqNum:                INTEGER;
  763.         ioVWrCnt:                LONGINT;
  764.         ioVFilCnt:                LONGINT;
  765.         ioVDirCnt:                LONGINT;
  766.         ioVFndrInfo:            ARRAY [1..8] OF LONGINT;
  767.         ioVTotalBytes:            UnsignedWide;                            { total number of bytes on volume }
  768.         ioVFreeBytes:            UnsignedWide;                            { number of free bytes on volume }
  769.     END;
  770.  
  771.     XVolumeParamPtr = ^XVolumeParam;
  772.  
  773.     AccessParam = RECORD
  774.         qLink:                    QElemPtr;
  775.         qType:                    INTEGER;
  776.         ioTrap:                    INTEGER;
  777.         ioCmdAddr:                Ptr;
  778.         ioCompletion:            IOCompletionUPP;
  779.         ioResult:                OSErr;
  780.         ioNamePtr:                StringPtr;
  781.         ioVRefNum:                INTEGER;
  782.         filler3:                INTEGER;
  783.         ioDenyModes:            INTEGER;
  784.         filler4:                INTEGER;
  785.         filler5:                SInt8;
  786.         ioACUser:                SInt8;
  787.         filler6:                LONGINT;
  788.         ioACOwnerID:            LONGINT;
  789.         ioACGroupID:            LONGINT;
  790.         ioACAccess:                LONGINT;
  791.         ioDirID:                LONGINT;
  792.     END;
  793.  
  794.     AccessParamPtr = ^AccessParam;
  795.  
  796.     ObjParam = RECORD
  797.         qLink:                    QElemPtr;
  798.         qType:                    INTEGER;
  799.         ioTrap:                    INTEGER;
  800.         ioCmdAddr:                Ptr;
  801.         ioCompletion:            IOCompletionUPP;
  802.         ioResult:                OSErr;
  803.         ioNamePtr:                StringPtr;
  804.         ioVRefNum:                INTEGER;
  805.         filler7:                INTEGER;
  806.         ioObjType:                INTEGER;
  807.         ioObjNamePtr:            StringPtr;
  808.         ioObjID:                LONGINT;
  809.     END;
  810.  
  811.     ObjParamPtr = ^ObjParam;
  812.  
  813.     CopyParam = RECORD
  814.         qLink:                    QElemPtr;
  815.         qType:                    INTEGER;
  816.         ioTrap:                    INTEGER;
  817.         ioCmdAddr:                Ptr;
  818.         ioCompletion:            IOCompletionUPP;
  819.         ioResult:                OSErr;
  820.         ioNamePtr:                StringPtr;
  821.         ioVRefNum:                INTEGER;
  822.         ioDstVRefNum:            INTEGER;
  823.         filler8:                INTEGER;
  824.         ioNewName:                StringPtr;
  825.         ioCopyName:                StringPtr;
  826.         ioNewDirID:                LONGINT;
  827.         filler14:                LONGINT;
  828.         filler15:                LONGINT;
  829.         ioDirID:                LONGINT;
  830.     END;
  831.  
  832.     CopyParamPtr = ^CopyParam;
  833.  
  834.     WDParam = RECORD
  835.         qLink:                    QElemPtr;
  836.         qType:                    INTEGER;
  837.         ioTrap:                    INTEGER;
  838.         ioCmdAddr:                Ptr;
  839.         ioCompletion:            IOCompletionUPP;
  840.         ioResult:                OSErr;
  841.         ioNamePtr:                StringPtr;
  842.         ioVRefNum:                INTEGER;
  843.         filler9:                INTEGER;
  844.         ioWDIndex:                INTEGER;
  845.         ioWDProcID:                LONGINT;
  846.         ioWDVRefNum:            INTEGER;
  847.         filler10:                INTEGER;
  848.         filler11:                LONGINT;
  849.         filler12:                LONGINT;
  850.         filler13:                LONGINT;
  851.         ioWDDirID:                LONGINT;
  852.     END;
  853.  
  854.     WDParamPtr = ^WDParam;
  855.  
  856.     FIDParam = RECORD
  857.         qLink:                    QElemPtr;
  858.         qType:                    INTEGER;
  859.         ioTrap:                    INTEGER;
  860.         ioCmdAddr:                Ptr;
  861.         ioCompletion:            IOCompletionUPP;
  862.         ioResult:                OSErr;
  863.         ioNamePtr:                StringPtr;
  864.         ioVRefNum:                INTEGER;
  865.         filler14:                LONGINT;
  866.         ioDestNamePtr:            StringPtr;
  867.         filler15:                LONGINT;
  868.         ioDestDirID:            LONGINT;
  869.         filler16:                LONGINT;
  870.         filler17:                LONGINT;
  871.         ioSrcDirID:                LONGINT;
  872.         filler18:                INTEGER;
  873.         ioFileID:                LONGINT;
  874.     END;
  875.  
  876.     FIDParamPtr = ^FIDParam;
  877.  
  878.     ForeignPrivParam = RECORD
  879.         qLink:                    QElemPtr;
  880.         qType:                    INTEGER;
  881.         ioTrap:                    INTEGER;
  882.         ioCmdAddr:                Ptr;
  883.         ioCompletion:            IOCompletionUPP;
  884.         ioResult:                OSErr;
  885.         ioNamePtr:                StringPtr;
  886.         ioVRefNum:                INTEGER;
  887.         ioFiller21:                LONGINT;
  888.         ioFiller22:                LONGINT;
  889.         ioForeignPrivBuffer:    Ptr;
  890.         ioForeignPrivActCount:    LONGINT;
  891.         ioForeignPrivReqCount:    LONGINT;
  892.         ioFiller23:                LONGINT;
  893.         ioForeignPrivDirID:        LONGINT;
  894.         ioForeignPrivInfo1:        LONGINT;
  895.         ioForeignPrivInfo2:        LONGINT;
  896.         ioForeignPrivInfo3:        LONGINT;
  897.         ioForeignPrivInfo4:        LONGINT;
  898.     END;
  899.  
  900.     ForeignPrivParamPtr = ^ForeignPrivParam;
  901.  
  902.     CSParam = RECORD
  903.         qLink:                    QElemPtr;
  904.         qType:                    INTEGER;
  905.         ioTrap:                    INTEGER;
  906.         ioCmdAddr:                Ptr;
  907.         ioCompletion:            IOCompletionUPP;
  908.         ioResult:                OSErr;
  909.         ioNamePtr:                StringPtr;
  910.         ioVRefNum:                INTEGER;
  911.         ioMatchPtr:                FSSpecPtr;
  912.         ioReqMatchCount:        LONGINT;
  913.         ioActMatchCount:        LONGINT;
  914.         ioSearchBits:            LONGINT;
  915.         ioSearchInfo1:            CInfoPBPtr;
  916.         ioSearchInfo2:            CInfoPBPtr;
  917.         ioSearchTime:            LONGINT;
  918.         ioCatPosition:            CatPositionRec;
  919.         ioOptBuffer:            Ptr;
  920.         ioOptBufSize:            LONGINT;
  921.     END;
  922.  
  923.     CSParamPtr = ^CSParam;
  924.  
  925.     HParamBlockRec = RECORD
  926.         qLink:                    QElemPtr;
  927.         qType:                    INTEGER;
  928.         ioTrap:                    INTEGER;
  929.         ioCmdAddr:                Ptr;
  930.         ioCompletion:            IOCompletionUPP;
  931.         ioResult:                OSErr;
  932.         ioNamePtr:                StringPtr;
  933.         ioVRefNum:                INTEGER;
  934.         CASE INTEGER OF
  935.         0: (
  936.             ioRefNum:                    INTEGER;
  937.             ioVersNum:                    SInt8;
  938.             ioPermssn:                    SInt8;
  939.             ioMisc:                        Ptr;
  940.             ioBuffer:                    Ptr;
  941.             ioReqCount:                    LONGINT;
  942.             ioActCount:                    LONGINT;
  943.             ioPosMode:                    INTEGER;
  944.             ioPosOffset:                LONGINT;
  945.            );
  946.         1: (
  947.             ioFRefNum:                    INTEGER;
  948.             ioFVersNum:                    SInt8;
  949.             filler1:                    SInt8;
  950.             ioFDirIndex:                INTEGER;
  951.             ioFlAttrib:                    SInt8;
  952.             ioFlVersNum:                SInt8;
  953.             ioFlFndrInfo:                FInfo;
  954.             ioDirID:                    LONGINT;
  955.             ioFlStBlk:                    INTEGER;
  956.             ioFlLgLen:                    LONGINT;
  957.             ioFlPyLen:                    LONGINT;
  958.             ioFlRStBlk:                    INTEGER;
  959.             ioFlRLgLen:                    LONGINT;
  960.             ioFlRPyLen:                    LONGINT;
  961.             ioFlCrDat:                    LONGINT;
  962.             ioFlMdDat:                    LONGINT;
  963.            );
  964.         2: (
  965.             filler2:                    LONGINT;
  966.             ioVolIndex:                    INTEGER;
  967.             ioVCrDate:                    LONGINT;
  968.             ioVLsMod:                    LONGINT;
  969.             ioVAtrb:                    INTEGER;
  970.             ioVNmFls:                    INTEGER;
  971.             ioVBitMap:                    INTEGER;
  972.             ioAllocPtr:                    INTEGER;
  973.             ioVNmAlBlks:                INTEGER;
  974.             ioVAlBlkSiz:                LONGINT;
  975.             ioVClpSiz:                    LONGINT;
  976.             ioAlBlSt:                    INTEGER;
  977.             ioVNxtCNID:                    LONGINT;
  978.             ioVFrBlk:                    INTEGER;
  979.             ioVSigWord:                    INTEGER;
  980.             ioVDrvInfo:                    INTEGER;
  981.             ioVDRefNum:                    INTEGER;
  982.             ioVFSID:                    INTEGER;
  983.             ioVBkUp:                    LONGINT;
  984.             ioVSeqNum:                    INTEGER;
  985.             ioVWrCnt:                    LONGINT;
  986.             ioVFilCnt:                    LONGINT;
  987.             ioVDirCnt:                    LONGINT;
  988.             ioVFndrInfo:                ARRAY [1..8] OF LONGINT;
  989.            );
  990.         3: (
  991.             filler3:                    INTEGER;
  992.             ioDenyModes:                INTEGER;
  993.             filler4:                    INTEGER;
  994.             filler5:                    SInt8;
  995.             ioACUser:                    SInt8;
  996.             filler6:                    LONGINT;
  997.             ioACOwnerID:                LONGINT;
  998.             ioACGroupID:                LONGINT;
  999.             ioACAccess:                    LONGINT;
  1000.            );
  1001.         4: (
  1002.             filler7:                    INTEGER;
  1003.             ioObjType:                    INTEGER;
  1004.             ioObjNamePtr:                StringPtr;
  1005.             ioObjID:                    LONGINT;
  1006.            );
  1007.         5: (
  1008.             ioDstVRefNum:                INTEGER;
  1009.             filler8:                    INTEGER;
  1010.             ioNewName:                    StringPtr;
  1011.             ioCopyName:                    StringPtr;
  1012.             ioNewDirID:                    LONGINT;
  1013.            );
  1014.         6: (
  1015.             filler9:                    INTEGER;
  1016.             ioWDIndex:                    INTEGER;
  1017.             ioWDProcID:                    LONGINT;
  1018.             ioWDVRefNum:                INTEGER;
  1019.             filler10:                    INTEGER;
  1020.             filler11:                    LONGINT;
  1021.             filler12:                    LONGINT;
  1022.             filler13:                    LONGINT;
  1023.             ioWDDirID:                    LONGINT;
  1024.            );
  1025.         7: (
  1026.             filler14:                    LONGINT;
  1027.             ioDestNamePtr:                StringPtr;
  1028.             filler15:                    LONGINT;
  1029.             ioDestDirID:                LONGINT;
  1030.             filler16:                    LONGINT;
  1031.             filler17:                    LONGINT;
  1032.             ioSrcDirID:                    LONGINT;
  1033.             filler18:                    INTEGER;
  1034.             ioFileID:                    LONGINT;
  1035.            );
  1036.         8: (
  1037.             ioMatchPtr:                    FSSpecPtr;
  1038.             ioReqMatchCount:            LONGINT;
  1039.             ioActMatchCount:            LONGINT;
  1040.             ioSearchBits:                LONGINT;
  1041.             ioSearchInfo1:                CInfoPBPtr;
  1042.             ioSearchInfo2:                CInfoPBPtr;
  1043.             ioSearchTime:                LONGINT;
  1044.             ioCatPosition:                CatPositionRec;
  1045.             ioOptBuffer:                Ptr;
  1046.             ioOptBufSize:                LONGINT;
  1047.            );
  1048.         9: (
  1049.             ioFiller21:                    LONGINT;
  1050.             ioFiller22:                    LONGINT;
  1051.             ioForeignPrivBuffer:        Ptr;
  1052.             ioForeignPrivActCount:        LONGINT;
  1053.             ioForeignPrivReqCount:        LONGINT;
  1054.             ioFiller23:                    LONGINT;
  1055.             ioForeignPrivDirID:            LONGINT;
  1056.             ioForeignPrivInfo1:            LONGINT;
  1057.             ioForeignPrivInfo2:            LONGINT;
  1058.             ioForeignPrivInfo3:            LONGINT;
  1059.             ioForeignPrivInfo4:            LONGINT;
  1060.            );
  1061.     END;
  1062.  
  1063.     HParmBlkPtr = ^HParamBlockRec;
  1064.  
  1065.     CMovePBRec = RECORD
  1066.         qLink:                    QElemPtr;
  1067.         qType:                    INTEGER;
  1068.         ioTrap:                    INTEGER;
  1069.         ioCmdAddr:                Ptr;
  1070.         ioCompletion:            IOCompletionUPP;
  1071.         ioResult:                OSErr;
  1072.         ioNamePtr:                StringPtr;
  1073.         ioVRefNum:                INTEGER;
  1074.         filler1:                LONGINT;
  1075.         ioNewName:                StringPtr;
  1076.         filler2:                LONGINT;
  1077.         ioNewDirID:                LONGINT;
  1078.         filler3:                ARRAY [1..2] OF LONGINT;
  1079.         ioDirID:                LONGINT;
  1080.     END;
  1081.  
  1082.     CMovePBPtr = ^CMovePBRec;
  1083.  
  1084.     WDPBRec = RECORD
  1085.         qLink:                    QElemPtr;
  1086.         qType:                    INTEGER;
  1087.         ioTrap:                    INTEGER;
  1088.         ioCmdAddr:                Ptr;
  1089.         ioCompletion:            IOCompletionUPP;
  1090.         ioResult:                OSErr;
  1091.         ioNamePtr:                StringPtr;
  1092.         ioVRefNum:                INTEGER;
  1093.         filler1:                INTEGER;
  1094.         ioWDIndex:                INTEGER;
  1095.         ioWDProcID:                LONGINT;
  1096.         ioWDVRefNum:            INTEGER;
  1097.         filler2:                ARRAY [1..7] OF INTEGER;
  1098.         ioWDDirID:                LONGINT;
  1099.     END;
  1100.  
  1101.     WDPBPtr = ^WDPBRec;
  1102.  
  1103.     FCBPBRec = RECORD
  1104.         qLink:                    QElemPtr;
  1105.         qType:                    INTEGER;
  1106.         ioTrap:                    INTEGER;
  1107.         ioCmdAddr:                Ptr;
  1108.         ioCompletion:            IOCompletionUPP;
  1109.         ioResult:                OSErr;
  1110.         ioNamePtr:                StringPtr;
  1111.         ioVRefNum:                INTEGER;
  1112.         ioRefNum:                INTEGER;
  1113.         filler:                    INTEGER;
  1114.         ioFCBIndx:                INTEGER;
  1115.         filler1:                INTEGER;
  1116.         ioFCBFlNm:                LONGINT;
  1117.         ioFCBFlags:                INTEGER;
  1118.         ioFCBStBlk:                INTEGER;
  1119.         ioFCBEOF:                LONGINT;
  1120.         ioFCBPLen:                LONGINT;
  1121.         ioFCBCrPs:                LONGINT;
  1122.         ioFCBVRefNum:            INTEGER;
  1123.         ioFCBClpSiz:            LONGINT;
  1124.         ioFCBParID:                LONGINT;
  1125.     END;
  1126.  
  1127.     FCBPBPtr = ^FCBPBRec;
  1128.  
  1129.     VCB = RECORD
  1130.         qLink:                    QElemPtr;
  1131.         qType:                    INTEGER;
  1132.         vcbFlags:                INTEGER;
  1133.         vcbSigWord:                INTEGER;
  1134.         vcbCrDate:                LONGINT;
  1135.         vcbLsMod:                LONGINT;
  1136.         vcbAtrb:                INTEGER;
  1137.         vcbNmFls:                INTEGER;
  1138.         vcbVBMSt:                INTEGER;
  1139.         vcbAllocPtr:            INTEGER;
  1140.         vcbNmAlBlks:            INTEGER;
  1141.         vcbAlBlkSiz:            LONGINT;
  1142.         vcbClpSiz:                LONGINT;
  1143.         vcbAlBlSt:                INTEGER;
  1144.         vcbNxtCNID:                LONGINT;
  1145.         vcbFreeBks:                INTEGER;
  1146.         vcbVN:                    Str27;
  1147.         vcbDrvNum:                INTEGER;
  1148.         vcbDRefNum:                INTEGER;
  1149.         vcbFSID:                INTEGER;
  1150.         vcbVRefNum:                INTEGER;
  1151.         vcbMAdr:                Ptr;
  1152.         vcbBufAdr:                Ptr;
  1153.         vcbMLen:                INTEGER;
  1154.         vcbDirIndex:            INTEGER;
  1155.         vcbDirBlk:                INTEGER;
  1156.         vcbVolBkUp:                LONGINT;
  1157.         vcbVSeqNum:                INTEGER;
  1158.         vcbWrCnt:                LONGINT;
  1159.         vcbXTClpSiz:            LONGINT;
  1160.         vcbCTClpSiz:            LONGINT;
  1161.         vcbNmRtDirs:            INTEGER;
  1162.         vcbFilCnt:                LONGINT;
  1163.         vcbDirCnt:                LONGINT;
  1164.         vcbFndrInfo:            ARRAY [1..8] OF LONGINT;
  1165.         vcbVCSize:                INTEGER;
  1166.         vcbVBMCSiz:                INTEGER;
  1167.         vcbCtlCSiz:                INTEGER;
  1168.         vcbXTAlBlks:            INTEGER;
  1169.         vcbCTAlBlks:            INTEGER;
  1170.         vcbXTRef:                INTEGER;
  1171.         vcbCTRef:                INTEGER;
  1172.         vcbCtlBuf:                Ptr;
  1173.         vcbDirIDM:                LONGINT;
  1174.         vcbOffsM:                INTEGER;
  1175.     END;
  1176.  
  1177. {$IFC NOT OLDROUTINELOCATIONS }
  1178.     VCBPtr = ^VCB;
  1179.  
  1180. {$ENDC}
  1181.     DrvQEl = RECORD
  1182.         qLink:                    QElemPtr;
  1183.         qType:                    INTEGER;
  1184.         dQDrive:                INTEGER;
  1185.         dQRefNum:                INTEGER;
  1186.         dQFSID:                    INTEGER;
  1187.         dQDrvSz:                INTEGER;
  1188.         dQDrvSz2:                INTEGER;
  1189.     END;
  1190.  
  1191.     DrvQElPtr = ^DrvQEl;
  1192.  
  1193. CONST
  1194.     uppIOCompletionProcInfo = $00009802; { Register PROCEDURE (4 bytes in A0); }
  1195.  
  1196. FUNCTION NewIOCompletionProc(userRoutine: IOCompletionProcPtr): IOCompletionUPP;
  1197.     {$IFC NOT GENERATINGCFM }
  1198.     INLINE $2E9F;
  1199.     {$ENDC}
  1200.  
  1201. PROCEDURE CallIOCompletionProc(paramBlock: ParmBlkPtr; userRoutine: IOCompletionUPP);
  1202.     {$IFC NOT GENERATINGCFM}
  1203.     {To be implemented:  Glue to move parameters into registers.}
  1204.     {$ENDC}
  1205. {$IFC OLDROUTINELOCATIONS }
  1206.  
  1207. FUNCTION PBOpenSync(paramBlock: ParmBlkPtr): OSErr;
  1208.     {$IFC NOT GENERATINGCFM}
  1209.     INLINE $205F, $A000, $3E80;
  1210.     {$ENDC}
  1211. FUNCTION PBOpenAsync(paramBlock: ParmBlkPtr): OSErr;
  1212.     {$IFC NOT GENERATINGCFM}
  1213.     INLINE $205F, $A400, $3E80;
  1214.     {$ENDC}
  1215. FUNCTION PBOpenImmed(paramBlock: ParmBlkPtr): OSErr;
  1216.     {$IFC NOT GENERATINGCFM}
  1217.     INLINE $205F, $A200, $3E80;
  1218.     {$ENDC}
  1219. FUNCTION PBCloseSync(paramBlock: ParmBlkPtr): OSErr;
  1220.     {$IFC NOT GENERATINGCFM}
  1221.     INLINE $205F, $A001, $3E80;
  1222.     {$ENDC}
  1223. FUNCTION PBCloseAsync(paramBlock: ParmBlkPtr): OSErr;
  1224.     {$IFC NOT GENERATINGCFM}
  1225.     INLINE $205F, $A401, $3E80;
  1226.     {$ENDC}
  1227. FUNCTION PBCloseImmed(paramBlock: ParmBlkPtr): OSErr;
  1228.     {$IFC NOT GENERATINGCFM}
  1229.     INLINE $205F, $A201, $3E80;
  1230.     {$ENDC}
  1231. FUNCTION PBReadSync(paramBlock: ParmBlkPtr): OSErr;
  1232.     {$IFC NOT GENERATINGCFM}
  1233.     INLINE $205F, $A002, $3E80;
  1234.     {$ENDC}
  1235. FUNCTION PBReadAsync(paramBlock: ParmBlkPtr): OSErr;
  1236.     {$IFC NOT GENERATINGCFM}
  1237.     INLINE $205F, $A402, $3E80;
  1238.     {$ENDC}
  1239. FUNCTION PBReadImmed(paramBlock: ParmBlkPtr): OSErr;
  1240.     {$IFC NOT GENERATINGCFM}
  1241.     INLINE $205F, $A202, $3E80;
  1242.     {$ENDC}
  1243. FUNCTION PBWriteSync(paramBlock: ParmBlkPtr): OSErr;
  1244.     {$IFC NOT GENERATINGCFM}
  1245.     INLINE $205F, $A003, $3E80;
  1246.     {$ENDC}
  1247. FUNCTION PBWriteAsync(paramBlock: ParmBlkPtr): OSErr;
  1248.     {$IFC NOT GENERATINGCFM}
  1249.     INLINE $205F, $A403, $3E80;
  1250.     {$ENDC}
  1251. FUNCTION PBWriteImmed(paramBlock: ParmBlkPtr): OSErr;
  1252.     {$IFC NOT GENERATINGCFM}
  1253.     INLINE $205F, $A203, $3E80;
  1254.     {$ENDC}
  1255. {$ENDC}
  1256.  
  1257. FUNCTION PBGetVInfoSync(paramBlock: ParmBlkPtr): OSErr;
  1258.     {$IFC NOT GENERATINGCFM}
  1259.     INLINE $205F, $A007, $3E80;
  1260.     {$ENDC}
  1261. FUNCTION PBGetVInfoAsync(paramBlock: ParmBlkPtr): OSErr;
  1262.     {$IFC NOT GENERATINGCFM}
  1263.     INLINE $205F, $A407, $3E80;
  1264.     {$ENDC}
  1265. FUNCTION PBXGetVolInfoSync(paramBlock: XVolumeParamPtr): OSErr;
  1266.     {$IFC NOT GENERATINGCFM}
  1267.     INLINE $205F, $7012, $A060, $3E80;
  1268.     {$ENDC}
  1269. FUNCTION PBXGetVolInfoAsync(paramBlock: XVolumeParamPtr): OSErr;
  1270.     {$IFC NOT GENERATINGCFM}
  1271.     INLINE $205F, $7012, $A460, $3E80;
  1272.     {$ENDC}
  1273. FUNCTION PBGetVolSync(paramBlock: ParmBlkPtr): OSErr;
  1274.     {$IFC NOT GENERATINGCFM}
  1275.     INLINE $205F, $A014, $3E80;
  1276.     {$ENDC}
  1277. FUNCTION PBGetVolAsync(paramBlock: ParmBlkPtr): OSErr;
  1278.     {$IFC NOT GENERATINGCFM}
  1279.     INLINE $205F, $A414, $3E80;
  1280.     {$ENDC}
  1281. FUNCTION PBSetVolSync(paramBlock: ParmBlkPtr): OSErr;
  1282.     {$IFC NOT GENERATINGCFM}
  1283.     INLINE $205F, $A015, $3E80;
  1284.     {$ENDC}
  1285. FUNCTION PBSetVolAsync(paramBlock: ParmBlkPtr): OSErr;
  1286.     {$IFC NOT GENERATINGCFM}
  1287.     INLINE $205F, $A415, $3E80;
  1288.     {$ENDC}
  1289. FUNCTION PBFlushVolSync(paramBlock: ParmBlkPtr): OSErr;
  1290.     {$IFC NOT GENERATINGCFM}
  1291.     INLINE $205F, $A013, $3E80;
  1292.     {$ENDC}
  1293. FUNCTION PBFlushVolAsync(paramBlock: ParmBlkPtr): OSErr;
  1294.     {$IFC NOT GENERATINGCFM}
  1295.     INLINE $205F, $A413, $3E80;
  1296.     {$ENDC}
  1297. FUNCTION PBCreateSync(paramBlock: ParmBlkPtr): OSErr;
  1298.     {$IFC NOT GENERATINGCFM}
  1299.     INLINE $205F, $A008, $3E80;
  1300.     {$ENDC}
  1301. FUNCTION PBCreateAsync(paramBlock: ParmBlkPtr): OSErr;
  1302.     {$IFC NOT GENERATINGCFM}
  1303.     INLINE $205F, $A408, $3E80;
  1304.     {$ENDC}
  1305. FUNCTION PBDeleteSync(paramBlock: ParmBlkPtr): OSErr;
  1306.     {$IFC NOT GENERATINGCFM}
  1307.     INLINE $205F, $A009, $3E80;
  1308.     {$ENDC}
  1309. FUNCTION PBDeleteAsync(paramBlock: ParmBlkPtr): OSErr;
  1310.     {$IFC NOT GENERATINGCFM}
  1311.     INLINE $205F, $A409, $3E80;
  1312.     {$ENDC}
  1313. FUNCTION PBOpenDFSync(paramBlock: ParmBlkPtr): OSErr;
  1314.     {$IFC NOT GENERATINGCFM}
  1315.     INLINE $205F, $701A, $A060, $3E80;
  1316.     {$ENDC}
  1317. FUNCTION PBOpenDFAsync(paramBlock: ParmBlkPtr): OSErr;
  1318.     {$IFC NOT GENERATINGCFM}
  1319.     INLINE $205F, $701A, $A460, $3E80;
  1320.     {$ENDC}
  1321. FUNCTION PBOpenRFSync(paramBlock: ParmBlkPtr): OSErr;
  1322.     {$IFC NOT GENERATINGCFM}
  1323.     INLINE $205F, $A00A, $3E80;
  1324.     {$ENDC}
  1325. FUNCTION PBOpenRFAsync(paramBlock: ParmBlkPtr): OSErr;
  1326.     {$IFC NOT GENERATINGCFM}
  1327.     INLINE $205F, $A40A, $3E80;
  1328.     {$ENDC}
  1329. FUNCTION PBRenameSync(paramBlock: ParmBlkPtr): OSErr;
  1330.     {$IFC NOT GENERATINGCFM}
  1331.     INLINE $205F, $A00B, $3E80;
  1332.     {$ENDC}
  1333. FUNCTION PBRenameAsync(paramBlock: ParmBlkPtr): OSErr;
  1334.     {$IFC NOT GENERATINGCFM}
  1335.     INLINE $205F, $A40B, $3E80;
  1336.     {$ENDC}
  1337. FUNCTION PBGetFInfoSync(paramBlock: ParmBlkPtr): OSErr;
  1338.     {$IFC NOT GENERATINGCFM}
  1339.     INLINE $205F, $A00C, $3E80;
  1340.     {$ENDC}
  1341. FUNCTION PBGetFInfoAsync(paramBlock: ParmBlkPtr): OSErr;
  1342.     {$IFC NOT GENERATINGCFM}
  1343.     INLINE $205F, $A40C, $3E80;
  1344.     {$ENDC}
  1345. FUNCTION PBSetFInfoSync(paramBlock: ParmBlkPtr): OSErr;
  1346.     {$IFC NOT GENERATINGCFM}
  1347.     INLINE $205F, $A00D, $3E80;
  1348.     {$ENDC}
  1349. FUNCTION PBSetFInfoAsync(paramBlock: ParmBlkPtr): OSErr;
  1350.     {$IFC NOT GENERATINGCFM}
  1351.     INLINE $205F, $A40D, $3E80;
  1352.     {$ENDC}
  1353. FUNCTION PBSetFLockSync(paramBlock: ParmBlkPtr): OSErr;
  1354.     {$IFC NOT GENERATINGCFM}
  1355.     INLINE $205F, $A041, $3E80;
  1356.     {$ENDC}
  1357. FUNCTION PBSetFLockAsync(paramBlock: ParmBlkPtr): OSErr;
  1358.     {$IFC NOT GENERATINGCFM}
  1359.     INLINE $205F, $A441, $3E80;
  1360.     {$ENDC}
  1361. FUNCTION PBRstFLockSync(paramBlock: ParmBlkPtr): OSErr;
  1362.     {$IFC NOT GENERATINGCFM}
  1363.     INLINE $205F, $A042, $3E80;
  1364.     {$ENDC}
  1365. FUNCTION PBRstFLockAsync(paramBlock: ParmBlkPtr): OSErr;
  1366.     {$IFC NOT GENERATINGCFM}
  1367.     INLINE $205F, $A442, $3E80;
  1368.     {$ENDC}
  1369. FUNCTION PBSetFVersSync(paramBlock: ParmBlkPtr): OSErr;
  1370.     {$IFC NOT GENERATINGCFM}
  1371.     INLINE $205F, $A043, $3E80;
  1372.     {$ENDC}
  1373. FUNCTION PBSetFVersAsync(paramBlock: ParmBlkPtr): OSErr;
  1374.     {$IFC NOT GENERATINGCFM}
  1375.     INLINE $205F, $A443, $3E80;
  1376.     {$ENDC}
  1377. FUNCTION PBAllocateSync(paramBlock: ParmBlkPtr): OSErr;
  1378.     {$IFC NOT GENERATINGCFM}
  1379.     INLINE $205F, $A010, $3E80;
  1380.     {$ENDC}
  1381. FUNCTION PBAllocateAsync(paramBlock: ParmBlkPtr): OSErr;
  1382.     {$IFC NOT GENERATINGCFM}
  1383.     INLINE $205F, $A410, $3E80;
  1384.     {$ENDC}
  1385. FUNCTION PBGetEOFSync(paramBlock: ParmBlkPtr): OSErr;
  1386.     {$IFC NOT GENERATINGCFM}
  1387.     INLINE $205F, $A011, $3E80;
  1388.     {$ENDC}
  1389. FUNCTION PBGetEOFAsync(paramBlock: ParmBlkPtr): OSErr;
  1390.     {$IFC NOT GENERATINGCFM}
  1391.     INLINE $205F, $A411, $3E80;
  1392.     {$ENDC}
  1393. FUNCTION PBSetEOFSync(paramBlock: ParmBlkPtr): OSErr;
  1394.     {$IFC NOT GENERATINGCFM}
  1395.     INLINE $205F, $A012, $3E80;
  1396.     {$ENDC}
  1397. FUNCTION PBSetEOFAsync(paramBlock: ParmBlkPtr): OSErr;
  1398.     {$IFC NOT GENERATINGCFM}
  1399.     INLINE $205F, $A412, $3E80;
  1400.     {$ENDC}
  1401. FUNCTION PBGetFPosSync(paramBlock: ParmBlkPtr): OSErr;
  1402.     {$IFC NOT GENERATINGCFM}
  1403.     INLINE $205F, $A018, $3E80;
  1404.     {$ENDC}
  1405. FUNCTION PBGetFPosAsync(paramBlock: ParmBlkPtr): OSErr;
  1406.     {$IFC NOT GENERATINGCFM}
  1407.     INLINE $205F, $A418, $3E80;
  1408.     {$ENDC}
  1409. FUNCTION PBSetFPosSync(paramBlock: ParmBlkPtr): OSErr;
  1410.     {$IFC NOT GENERATINGCFM}
  1411.     INLINE $205F, $A044, $3E80;
  1412.     {$ENDC}
  1413. FUNCTION PBSetFPosAsync(paramBlock: ParmBlkPtr): OSErr;
  1414.     {$IFC NOT GENERATINGCFM}
  1415.     INLINE $205F, $A444, $3E80;
  1416.     {$ENDC}
  1417. FUNCTION PBFlushFileSync(paramBlock: ParmBlkPtr): OSErr;
  1418.     {$IFC NOT GENERATINGCFM}
  1419.     INLINE $205F, $A045, $3E80;
  1420.     {$ENDC}
  1421. FUNCTION PBFlushFileAsync(paramBlock: ParmBlkPtr): OSErr;
  1422.     {$IFC NOT GENERATINGCFM}
  1423.     INLINE $205F, $A445, $3E80;
  1424.     {$ENDC}
  1425. FUNCTION PBMountVol(paramBlock: ParmBlkPtr): OSErr;
  1426.     {$IFC NOT GENERATINGCFM}
  1427.     INLINE $205F, $A00F, $3E80;
  1428.     {$ENDC}
  1429. FUNCTION PBUnmountVol(paramBlock: ParmBlkPtr): OSErr;
  1430.     {$IFC NOT GENERATINGCFM}
  1431.     INLINE $205F, $A00E, $3E80;
  1432.     {$ENDC}
  1433. FUNCTION PBEject(paramBlock: ParmBlkPtr): OSErr;
  1434.     {$IFC NOT GENERATINGCFM}
  1435.     INLINE $205F, $A017, $3E80;
  1436.     {$ENDC}
  1437. FUNCTION PBOffLine(paramBlock: ParmBlkPtr): OSErr;
  1438.     {$IFC NOT GENERATINGCFM}
  1439.     INLINE $205F, $A035, $3E80;
  1440.     {$ENDC}
  1441. FUNCTION PBCatSearchSync(paramBlock: CSParamPtr): OSErr;
  1442.     {$IFC NOT GENERATINGCFM}
  1443.     INLINE $205F, $7018, $A260, $3E80;
  1444.     {$ENDC}
  1445. FUNCTION PBCatSearchAsync(paramBlock: CSParamPtr): OSErr;
  1446.     {$IFC NOT GENERATINGCFM}
  1447.     INLINE $205F, $7018, $A660, $3E80;
  1448.     {$ENDC}
  1449. FUNCTION SetVol(volName: StringPtr; vRefNum: INTEGER): OSErr;
  1450. FUNCTION UnmountVol(volName: StringPtr; vRefNum: INTEGER): OSErr;
  1451. FUNCTION Eject(volName: StringPtr; vRefNum: INTEGER): OSErr;
  1452. FUNCTION FlushVol(volName: StringPtr; vRefNum: INTEGER): OSErr;
  1453. FUNCTION HSetVol(volName: StringPtr; vRefNum: INTEGER; dirID: LONGINT): OSErr;
  1454. {$IFC OLDROUTINELOCATIONS }
  1455. PROCEDURE AddDrive(drvrRefNum: INTEGER; drvNum: INTEGER; qEl: DrvQElPtr);
  1456. {$ENDC}
  1457. FUNCTION FSOpen(fileName: ConstStr255Param; vRefNum: INTEGER; VAR refNum: INTEGER): OSErr;
  1458. FUNCTION OpenDF(fileName: ConstStr255Param; vRefNum: INTEGER; VAR refNum: INTEGER): OSErr;
  1459. FUNCTION FSClose(refNum: INTEGER): OSErr;
  1460. FUNCTION FSRead(refNum: INTEGER; VAR count: LONGINT; buffPtr: UNIV Ptr): OSErr;
  1461. FUNCTION FSWrite(refNum: INTEGER; VAR count: LONGINT; buffPtr: UNIV Ptr): OSErr;
  1462. FUNCTION GetVInfo(drvNum: INTEGER; volName: StringPtr; VAR vRefNum: INTEGER; VAR freeBytes: LONGINT): OSErr;
  1463. FUNCTION GetFInfo(fileName: ConstStr255Param; vRefNum: INTEGER; VAR fndrInfo: FInfo): OSErr;
  1464. FUNCTION GetVol(volName: StringPtr; VAR vRefNum: INTEGER): OSErr;
  1465. FUNCTION Create(fileName: ConstStr255Param; vRefNum: INTEGER; creator: OSType; fileType: OSType): OSErr;
  1466. FUNCTION FSDelete(fileName: ConstStr255Param; vRefNum: INTEGER): OSErr;
  1467. FUNCTION OpenRF(fileName: ConstStr255Param; vRefNum: INTEGER; VAR refNum: INTEGER): OSErr;
  1468. FUNCTION Rename(oldName: ConstStr255Param; vRefNum: INTEGER; newName: ConstStr255Param): OSErr;
  1469. FUNCTION SetFInfo(fileName: ConstStr255Param; vRefNum: INTEGER; {CONST}VAR fndrInfo: FInfo): OSErr;
  1470. FUNCTION SetFLock(fileName: ConstStr255Param; vRefNum: INTEGER): OSErr;
  1471. FUNCTION RstFLock(fileName: ConstStr255Param; vRefNum: INTEGER): OSErr;
  1472. FUNCTION Allocate(refNum: INTEGER; VAR count: LONGINT): OSErr;
  1473. FUNCTION GetEOF(refNum: INTEGER; VAR logEOF: LONGINT): OSErr;
  1474. FUNCTION SetEOF(refNum: INTEGER; logEOF: LONGINT): OSErr;
  1475. FUNCTION GetFPos(refNum: INTEGER; VAR filePos: LONGINT): OSErr;
  1476. FUNCTION SetFPos(refNum: INTEGER; posMode: INTEGER; posOff: LONGINT): OSErr;
  1477. FUNCTION GetVRefNum(fileRefNum: INTEGER; VAR vRefNum: INTEGER): OSErr;
  1478. FUNCTION PBOpenWDSync(paramBlock: WDPBPtr): OSErr;
  1479.     {$IFC NOT GENERATINGCFM}
  1480.     INLINE $205F, $7001, $A260, $3E80;
  1481.     {$ENDC}
  1482. FUNCTION PBOpenWDAsync(paramBlock: WDPBPtr): OSErr;
  1483.     {$IFC NOT GENERATINGCFM}
  1484.     INLINE $205F, $7001, $A660, $3E80;
  1485.     {$ENDC}
  1486. FUNCTION PBCloseWDSync(paramBlock: WDPBPtr): OSErr;
  1487.     {$IFC NOT GENERATINGCFM}
  1488.     INLINE $205F, $7002, $A260, $3E80;
  1489.     {$ENDC}
  1490. FUNCTION PBCloseWDAsync(paramBlock: WDPBPtr): OSErr;
  1491.     {$IFC NOT GENERATINGCFM}
  1492.     INLINE $205F, $7002, $A660, $3E80;
  1493.     {$ENDC}
  1494. FUNCTION PBHSetVolSync(paramBlock: WDPBPtr): OSErr;
  1495.     {$IFC NOT GENERATINGCFM}
  1496.     INLINE $205F, $A215, $3E80;
  1497.     {$ENDC}
  1498. FUNCTION PBHSetVolAsync(paramBlock: WDPBPtr): OSErr;
  1499.     {$IFC NOT GENERATINGCFM}
  1500.     INLINE $205F, $A615, $3E80;
  1501.     {$ENDC}
  1502. FUNCTION PBHGetVolSync(paramBlock: WDPBPtr): OSErr;
  1503.     {$IFC NOT GENERATINGCFM}
  1504.     INLINE $205F, $A214, $3E80;
  1505.     {$ENDC}
  1506. FUNCTION PBHGetVolAsync(paramBlock: WDPBPtr): OSErr;
  1507.     {$IFC NOT GENERATINGCFM}
  1508.     INLINE $205F, $A614, $3E80;
  1509.     {$ENDC}
  1510. FUNCTION PBCatMoveSync(paramBlock: CMovePBPtr): OSErr;
  1511.     {$IFC NOT GENERATINGCFM}
  1512.     INLINE $205F, $7005, $A260, $3E80;
  1513.     {$ENDC}
  1514. FUNCTION PBCatMoveAsync(paramBlock: CMovePBPtr): OSErr;
  1515.     {$IFC NOT GENERATINGCFM}
  1516.     INLINE $205F, $7005, $A660, $3E80;
  1517.     {$ENDC}
  1518. FUNCTION PBDirCreateSync(paramBlock: HParmBlkPtr): OSErr;
  1519.     {$IFC NOT GENERATINGCFM}
  1520.     INLINE $205F, $7006, $A260, $3E80;
  1521.     {$ENDC}
  1522. FUNCTION PBDirCreateAsync(paramBlock: HParmBlkPtr): OSErr;
  1523.     {$IFC NOT GENERATINGCFM}
  1524.     INLINE $205F, $7006, $A660, $3E80;
  1525.     {$ENDC}
  1526. FUNCTION PBGetWDInfoSync(paramBlock: WDPBPtr): OSErr;
  1527.     {$IFC NOT GENERATINGCFM}
  1528.     INLINE $205F, $7007, $A260, $3E80;
  1529.     {$ENDC}
  1530. FUNCTION PBGetWDInfoAsync(paramBlock: WDPBPtr): OSErr;
  1531.     {$IFC NOT GENERATINGCFM}
  1532.     INLINE $205F, $7007, $A660, $3E80;
  1533.     {$ENDC}
  1534. FUNCTION PBGetFCBInfoSync(paramBlock: FCBPBPtr): OSErr;
  1535.     {$IFC NOT GENERATINGCFM}
  1536.     INLINE $205F, $7008, $A260, $3E80;
  1537.     {$ENDC}
  1538. FUNCTION PBGetFCBInfoAsync(paramBlock: FCBPBPtr): OSErr;
  1539.     {$IFC NOT GENERATINGCFM}
  1540.     INLINE $205F, $7008, $A660, $3E80;
  1541.     {$ENDC}
  1542. FUNCTION PBGetCatInfoSync(paramBlock: CInfoPBPtr): OSErr;
  1543.     {$IFC NOT GENERATINGCFM}
  1544.     INLINE $205F, $7009, $A260, $3E80;
  1545.     {$ENDC}
  1546. FUNCTION PBGetCatInfoAsync(paramBlock: CInfoPBPtr): OSErr;
  1547.     {$IFC NOT GENERATINGCFM}
  1548.     INLINE $205F, $7009, $A660, $3E80;
  1549.     {$ENDC}
  1550. FUNCTION PBSetCatInfoSync(paramBlock: CInfoPBPtr): OSErr;
  1551.     {$IFC NOT GENERATINGCFM}
  1552.     INLINE $205F, $700A, $A260, $3E80;
  1553.     {$ENDC}
  1554. FUNCTION PBSetCatInfoAsync(paramBlock: CInfoPBPtr): OSErr;
  1555.     {$IFC NOT GENERATINGCFM}
  1556.     INLINE $205F, $700A, $A660, $3E80;
  1557.     {$ENDC}
  1558. FUNCTION PBAllocContigSync(paramBlock: ParmBlkPtr): OSErr;
  1559.     {$IFC NOT GENERATINGCFM}
  1560.     INLINE $205F, $A210, $3E80;
  1561.     {$ENDC}
  1562. FUNCTION PBAllocContigAsync(paramBlock: ParmBlkPtr): OSErr;
  1563.     {$IFC NOT GENERATINGCFM}
  1564.     INLINE $205F, $A610, $3E80;
  1565.     {$ENDC}
  1566. FUNCTION PBLockRangeSync(paramBlock: ParmBlkPtr): OSErr;
  1567.     {$IFC NOT GENERATINGCFM}
  1568.     INLINE $205F, $7010, $A260, $3E80;
  1569.     {$ENDC}
  1570. FUNCTION PBLockRangeAsync(paramBlock: ParmBlkPtr): OSErr;
  1571.     {$IFC NOT GENERATINGCFM}
  1572.     INLINE $205F, $7010, $A660, $3E80;
  1573.     {$ENDC}
  1574. FUNCTION PBUnlockRangeSync(paramBlock: ParmBlkPtr): OSErr;
  1575.     {$IFC NOT GENERATINGCFM}
  1576.     INLINE $205F, $7011, $A260, $3E80;
  1577.     {$ENDC}
  1578. FUNCTION PBUnlockRangeAsync(paramBlock: ParmBlkPtr): OSErr;
  1579.     {$IFC NOT GENERATINGCFM}
  1580.     INLINE $205F, $7011, $A660, $3E80;
  1581.     {$ENDC}
  1582. FUNCTION PBSetVInfoSync(paramBlock: HParmBlkPtr): OSErr;
  1583.     {$IFC NOT GENERATINGCFM}
  1584.     INLINE $205F, $700B, $A260, $3E80;
  1585.     {$ENDC}
  1586. FUNCTION PBSetVInfoAsync(paramBlock: HParmBlkPtr): OSErr;
  1587.     {$IFC NOT GENERATINGCFM}
  1588.     INLINE $205F, $700B, $A660, $3E80;
  1589.     {$ENDC}
  1590. FUNCTION PBHGetVInfoSync(paramBlock: HParmBlkPtr): OSErr;
  1591.     {$IFC NOT GENERATINGCFM}
  1592.     INLINE $205F, $A207, $3E80;
  1593.     {$ENDC}
  1594. FUNCTION PBHGetVInfoAsync(paramBlock: HParmBlkPtr): OSErr;
  1595.     {$IFC NOT GENERATINGCFM}
  1596.     INLINE $205F, $A607, $3E80;
  1597.     {$ENDC}
  1598. FUNCTION PBHOpenSync(paramBlock: HParmBlkPtr): OSErr;
  1599.     {$IFC NOT GENERATINGCFM}
  1600.     INLINE $205F, $A200, $3E80;
  1601.     {$ENDC}
  1602. FUNCTION PBHOpenAsync(paramBlock: HParmBlkPtr): OSErr;
  1603.     {$IFC NOT GENERATINGCFM}
  1604.     INLINE $205F, $A600, $3E80;
  1605.     {$ENDC}
  1606. FUNCTION PBHOpenRFSync(paramBlock: HParmBlkPtr): OSErr;
  1607.     {$IFC NOT GENERATINGCFM}
  1608.     INLINE $205F, $A20A, $3E80;
  1609.     {$ENDC}
  1610. FUNCTION PBHOpenRFAsync(paramBlock: HParmBlkPtr): OSErr;
  1611.     {$IFC NOT GENERATINGCFM}
  1612.     INLINE $205F, $A60A, $3E80;
  1613.     {$ENDC}
  1614. FUNCTION PBHOpenDFSync(paramBlock: HParmBlkPtr): OSErr;
  1615.     {$IFC NOT GENERATINGCFM}
  1616.     INLINE $205F, $701A, $A260, $3E80;
  1617.     {$ENDC}
  1618. FUNCTION PBHOpenDFAsync(paramBlock: HParmBlkPtr): OSErr;
  1619.     {$IFC NOT GENERATINGCFM}
  1620.     INLINE $205F, $701A, $A660, $3E80;
  1621.     {$ENDC}
  1622. FUNCTION PBHCreateSync(paramBlock: HParmBlkPtr): OSErr;
  1623.     {$IFC NOT GENERATINGCFM}
  1624.     INLINE $205F, $A208, $3E80;
  1625.     {$ENDC}
  1626. FUNCTION PBHCreateAsync(paramBlock: HParmBlkPtr): OSErr;
  1627.     {$IFC NOT GENERATINGCFM}
  1628.     INLINE $205F, $A608, $3E80;
  1629.     {$ENDC}
  1630. FUNCTION PBHDeleteSync(paramBlock: HParmBlkPtr): OSErr;
  1631.     {$IFC NOT GENERATINGCFM}
  1632.     INLINE $205F, $A209, $3E80;
  1633.     {$ENDC}
  1634. FUNCTION PBHDeleteAsync(paramBlock: HParmBlkPtr): OSErr;
  1635.     {$IFC NOT GENERATINGCFM}
  1636.     INLINE $205F, $A609, $3E80;
  1637.     {$ENDC}
  1638. FUNCTION PBHRenameSync(paramBlock: HParmBlkPtr): OSErr;
  1639.     {$IFC NOT GENERATINGCFM}
  1640.     INLINE $205F, $A20B, $3E80;
  1641.     {$ENDC}
  1642. FUNCTION PBHRenameAsync(paramBlock: HParmBlkPtr): OSErr;
  1643.     {$IFC NOT GENERATINGCFM}
  1644.     INLINE $205F, $A60B, $3E80;
  1645.     {$ENDC}
  1646. FUNCTION PBHRstFLockSync(paramBlock: HParmBlkPtr): OSErr;
  1647.     {$IFC NOT GENERATINGCFM}
  1648.     INLINE $205F, $A242, $3E80;
  1649.     {$ENDC}
  1650. FUNCTION PBHRstFLockAsync(paramBlock: HParmBlkPtr): OSErr;
  1651.     {$IFC NOT GENERATINGCFM}
  1652.     INLINE $205F, $A642, $3E80;
  1653.     {$ENDC}
  1654. FUNCTION PBHSetFLockSync(paramBlock: HParmBlkPtr): OSErr;
  1655.     {$IFC NOT GENERATINGCFM}
  1656.     INLINE $205F, $A241, $3E80;
  1657.     {$ENDC}
  1658. FUNCTION PBHSetFLockAsync(paramBlock: HParmBlkPtr): OSErr;
  1659.     {$IFC NOT GENERATINGCFM}
  1660.     INLINE $205F, $A641, $3E80;
  1661.     {$ENDC}
  1662. FUNCTION PBHGetFInfoSync(paramBlock: HParmBlkPtr): OSErr;
  1663.     {$IFC NOT GENERATINGCFM}
  1664.     INLINE $205F, $A20C, $3E80;
  1665.     {$ENDC}
  1666. FUNCTION PBHGetFInfoAsync(paramBlock: HParmBlkPtr): OSErr;
  1667.     {$IFC NOT GENERATINGCFM}
  1668.     INLINE $205F, $A60C, $3E80;
  1669.     {$ENDC}
  1670. FUNCTION PBHSetFInfoSync(paramBlock: HParmBlkPtr): OSErr;
  1671.     {$IFC NOT GENERATINGCFM}
  1672.     INLINE $205F, $A20D, $3E80;
  1673.     {$ENDC}
  1674. FUNCTION PBHSetFInfoAsync(paramBlock: HParmBlkPtr): OSErr;
  1675.     {$IFC NOT GENERATINGCFM}
  1676.     INLINE $205F, $A60D, $3E80;
  1677.     {$ENDC}
  1678. FUNCTION PBMakeFSSpecSync(paramBlock: HParmBlkPtr): OSErr;
  1679.     {$IFC NOT GENERATINGCFM}
  1680.     INLINE $205F, $701B, $A260, $3E80;
  1681.     {$ENDC}
  1682. FUNCTION PBMakeFSSpecAsync(paramBlock: HParmBlkPtr): OSErr;
  1683.     {$IFC NOT GENERATINGCFM}
  1684.     INLINE $205F, $701B, $A660, $3E80;
  1685.     {$ENDC}
  1686. PROCEDURE FInitQueue;
  1687.     {$IFC NOT GENERATINGCFM}
  1688.     INLINE $A016;
  1689.     {$ENDC}
  1690. FUNCTION GetFSQHdr: QHdrPtr;
  1691.     {$IFC NOT GENERATINGCFM}
  1692.     INLINE $2EBC, $0000, $0360;
  1693.     {$ENDC}
  1694. FUNCTION GetVCBQHdr: QHdrPtr;
  1695.     {$IFC NOT GENERATINGCFM}
  1696.     INLINE $2EBC, $0000, $0356;
  1697.     {$ENDC}
  1698. {$IFC OLDROUTINELOCATIONS }
  1699. FUNCTION GetDrvQHdr: QHdrPtr;
  1700.     {$IFC NOT GENERATINGCFM}
  1701.     INLINE $2EBC, $0000, $0308;
  1702.     {$ENDC}
  1703. {$ENDC}
  1704. FUNCTION HGetVol(volName: StringPtr; VAR vRefNum: INTEGER; VAR dirID: LONGINT): OSErr;
  1705. FUNCTION HOpen(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
  1706. FUNCTION HOpenDF(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
  1707. FUNCTION HOpenRF(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
  1708. FUNCTION AllocContig(refNum: INTEGER; VAR count: LONGINT): OSErr;
  1709. FUNCTION HCreate(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; creator: OSType; fileType: OSType): OSErr;
  1710. FUNCTION DirCreate(vRefNum: INTEGER; parentDirID: LONGINT; directoryName: ConstStr255Param; VAR createdDirID: LONGINT): OSErr;
  1711. FUNCTION HDelete(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param): OSErr;
  1712. FUNCTION HGetFInfo(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; VAR fndrInfo: FInfo): OSErr;
  1713. FUNCTION HSetFInfo(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; {CONST}VAR fndrInfo: FInfo): OSErr;
  1714. FUNCTION HSetFLock(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param): OSErr;
  1715. FUNCTION HRstFLock(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param): OSErr;
  1716. FUNCTION HRename(vRefNum: INTEGER; dirID: LONGINT; oldName: ConstStr255Param; newName: ConstStr255Param): OSErr;
  1717. FUNCTION CatMove(vRefNum: INTEGER; dirID: LONGINT; oldName: ConstStr255Param; newDirID: LONGINT; newName: ConstStr255Param): OSErr;
  1718. FUNCTION OpenWD(vRefNum: INTEGER; dirID: LONGINT; procID: LONGINT; VAR wdRefNum: INTEGER): OSErr;
  1719. FUNCTION CloseWD(wdRefNum: INTEGER): OSErr;
  1720. FUNCTION GetWDInfo(wdRefNum: INTEGER; VAR vRefNum: INTEGER; VAR dirID: LONGINT; VAR procID: LONGINT): OSErr;
  1721. {  shared environment  }
  1722. FUNCTION PBHGetVolParmsSync(paramBlock: HParmBlkPtr): OSErr;
  1723.     {$IFC NOT GENERATINGCFM}
  1724.     INLINE $205F, $7030, $A260, $3E80;
  1725.     {$ENDC}
  1726. FUNCTION PBHGetVolParmsAsync(paramBlock: HParmBlkPtr): OSErr;
  1727.     {$IFC NOT GENERATINGCFM}
  1728.     INLINE $205F, $7030, $A660, $3E80;
  1729.     {$ENDC}
  1730. FUNCTION PBHGetLogInInfoSync(paramBlock: HParmBlkPtr): OSErr;
  1731.     {$IFC NOT GENERATINGCFM}
  1732.     INLINE $205F, $7031, $A260, $3E80;
  1733.     {$ENDC}
  1734. FUNCTION PBHGetLogInInfoAsync(paramBlock: HParmBlkPtr): OSErr;
  1735.     {$IFC NOT GENERATINGCFM}
  1736.     INLINE $205F, $7031, $A660, $3E80;
  1737.     {$ENDC}
  1738. FUNCTION PBHGetDirAccessSync(paramBlock: HParmBlkPtr): OSErr;
  1739.     {$IFC NOT GENERATINGCFM}
  1740.     INLINE $205F, $7032, $A260, $3E80;
  1741.     {$ENDC}
  1742. FUNCTION PBHGetDirAccessAsync(paramBlock: HParmBlkPtr): OSErr;
  1743.     {$IFC NOT GENERATINGCFM}
  1744.     INLINE $205F, $7032, $A660, $3E80;
  1745.     {$ENDC}
  1746. FUNCTION PBHSetDirAccessSync(paramBlock: HParmBlkPtr): OSErr;
  1747.     {$IFC NOT GENERATINGCFM}
  1748.     INLINE $205F, $7033, $A260, $3E80;
  1749.     {$ENDC}
  1750. FUNCTION PBHSetDirAccessAsync(paramBlock: HParmBlkPtr): OSErr;
  1751.     {$IFC NOT GENERATINGCFM}
  1752.     INLINE $205F, $7033, $A660, $3E80;
  1753.     {$ENDC}
  1754. FUNCTION PBHMapIDSync(paramBlock: HParmBlkPtr): OSErr;
  1755.     {$IFC NOT GENERATINGCFM}
  1756.     INLINE $205F, $7034, $A260, $3E80;
  1757.     {$ENDC}
  1758. FUNCTION PBHMapIDAsync(paramBlock: HParmBlkPtr): OSErr;
  1759.     {$IFC NOT GENERATINGCFM}
  1760.     INLINE $205F, $7034, $A660, $3E80;
  1761.     {$ENDC}
  1762. FUNCTION PBHMapNameSync(paramBlock: HParmBlkPtr): OSErr;
  1763.     {$IFC NOT GENERATINGCFM}
  1764.     INLINE $205F, $7035, $A260, $3E80;
  1765.     {$ENDC}
  1766. FUNCTION PBHMapNameAsync(paramBlock: HParmBlkPtr): OSErr;
  1767.     {$IFC NOT GENERATINGCFM}
  1768.     INLINE $205F, $7035, $A660, $3E80;
  1769.     {$ENDC}
  1770. FUNCTION PBHCopyFileSync(paramBlock: HParmBlkPtr): OSErr;
  1771.     {$IFC NOT GENERATINGCFM}
  1772.     INLINE $205F, $7036, $A260, $3E80;
  1773.     {$ENDC}
  1774. FUNCTION PBHCopyFileAsync(paramBlock: HParmBlkPtr): OSErr;
  1775.     {$IFC NOT GENERATINGCFM}
  1776.     INLINE $205F, $7036, $A660, $3E80;
  1777.     {$ENDC}
  1778. FUNCTION PBHMoveRenameSync(paramBlock: HParmBlkPtr): OSErr;
  1779.     {$IFC NOT GENERATINGCFM}
  1780.     INLINE $205F, $7037, $A260, $3E80;
  1781.     {$ENDC}
  1782. FUNCTION PBHMoveRenameAsync(paramBlock: HParmBlkPtr): OSErr;
  1783.     {$IFC NOT GENERATINGCFM}
  1784.     INLINE $205F, $7037, $A660, $3E80;
  1785.     {$ENDC}
  1786. FUNCTION PBHOpenDenySync(paramBlock: HParmBlkPtr): OSErr;
  1787.     {$IFC NOT GENERATINGCFM}
  1788.     INLINE $205F, $7038, $A260, $3E80;
  1789.     {$ENDC}
  1790. FUNCTION PBHOpenDenyAsync(paramBlock: HParmBlkPtr): OSErr;
  1791.     {$IFC NOT GENERATINGCFM}
  1792.     INLINE $205F, $7038, $A660, $3E80;
  1793.     {$ENDC}
  1794. FUNCTION PBHOpenRFDenySync(paramBlock: HParmBlkPtr): OSErr;
  1795.     {$IFC NOT GENERATINGCFM}
  1796.     INLINE $205F, $7039, $A260, $3E80;
  1797.     {$ENDC}
  1798. FUNCTION PBHOpenRFDenyAsync(paramBlock: HParmBlkPtr): OSErr;
  1799.     {$IFC NOT GENERATINGCFM}
  1800.     INLINE $205F, $7039, $A660, $3E80;
  1801.     {$ENDC}
  1802. FUNCTION PBExchangeFilesSync(paramBlock: HParmBlkPtr): OSErr;
  1803.     {$IFC NOT GENERATINGCFM}
  1804.     INLINE $205F, $7017, $A260, $3E80;
  1805.     {$ENDC}
  1806. FUNCTION PBExchangeFilesAsync(paramBlock: HParmBlkPtr): OSErr;
  1807.     {$IFC NOT GENERATINGCFM}
  1808.     INLINE $205F, $7017, $A660, $3E80;
  1809.     {$ENDC}
  1810. FUNCTION PBCreateFileIDRefSync(paramBlock: HParmBlkPtr): OSErr;
  1811.     {$IFC NOT GENERATINGCFM}
  1812.     INLINE $205F, $7014, $A260, $3E80;
  1813.     {$ENDC}
  1814. FUNCTION PBCreateFileIDRefAsync(paramBlock: HParmBlkPtr): OSErr;
  1815.     {$IFC NOT GENERATINGCFM}
  1816.     INLINE $205F, $7014, $A660, $3E80;
  1817.     {$ENDC}
  1818. FUNCTION PBResolveFileIDRefSync(paramBlock: HParmBlkPtr): OSErr;
  1819.     {$IFC NOT GENERATINGCFM}
  1820.     INLINE $205F, $7016, $A260, $3E80;
  1821.     {$ENDC}
  1822. FUNCTION PBResolveFileIDRefAsync(paramBlock: HParmBlkPtr): OSErr;
  1823.     {$IFC NOT GENERATINGCFM}
  1824.     INLINE $205F, $7016, $A660, $3E80;
  1825.     {$ENDC}
  1826. FUNCTION PBDeleteFileIDRefSync(paramBlock: HParmBlkPtr): OSErr;
  1827.     {$IFC NOT GENERATINGCFM}
  1828.     INLINE $205F, $7015, $A260, $3E80;
  1829.     {$ENDC}
  1830. FUNCTION PBDeleteFileIDRefAsync(paramBlock: HParmBlkPtr): OSErr;
  1831.     {$IFC NOT GENERATINGCFM}
  1832.     INLINE $205F, $7015, $A660, $3E80;
  1833.     {$ENDC}
  1834. FUNCTION PBGetForeignPrivsSync(paramBlock: HParmBlkPtr): OSErr;
  1835.     {$IFC NOT GENERATINGCFM}
  1836.     INLINE $205F, $7060, $A260, $3E80;
  1837.     {$ENDC}
  1838. FUNCTION PBGetForeignPrivsAsync(paramBlock: HParmBlkPtr): OSErr;
  1839.     {$IFC NOT GENERATINGCFM}
  1840.     INLINE $205F, $7060, $A660, $3E80;
  1841.     {$ENDC}
  1842. FUNCTION PBSetForeignPrivsSync(paramBlock: HParmBlkPtr): OSErr;
  1843.     {$IFC NOT GENERATINGCFM}
  1844.     INLINE $205F, $7061, $A260, $3E80;
  1845.     {$ENDC}
  1846. FUNCTION PBSetForeignPrivsAsync(paramBlock: HParmBlkPtr): OSErr;
  1847.     {$IFC NOT GENERATINGCFM}
  1848.     INLINE $205F, $7061, $A660, $3E80;
  1849.     {$ENDC}
  1850. {  Desktop Manager  }
  1851. FUNCTION PBDTGetPath(paramBlock: DTPBPtr): OSErr;
  1852.     {$IFC NOT GENERATINGCFM}
  1853.     INLINE $205F, $7020, $A260, $3E80;
  1854.     {$ENDC}
  1855. FUNCTION PBDTCloseDown(paramBlock: DTPBPtr): OSErr;
  1856.     {$IFC NOT GENERATINGCFM}
  1857.     INLINE $205F, $7021, $A260, $3E80;
  1858.     {$ENDC}
  1859. FUNCTION PBDTAddIconSync(paramBlock: DTPBPtr): OSErr;
  1860.     {$IFC NOT GENERATINGCFM}
  1861.     INLINE $205F, $7022, $A260, $3E80;
  1862.     {$ENDC}
  1863. FUNCTION PBDTAddIconAsync(paramBlock: DTPBPtr): OSErr;
  1864.     {$IFC NOT GENERATINGCFM}
  1865.     INLINE $205F, $7022, $A660, $3E80;
  1866.     {$ENDC}
  1867. FUNCTION PBDTGetIconSync(paramBlock: DTPBPtr): OSErr;
  1868.     {$IFC NOT GENERATINGCFM}
  1869.     INLINE $205F, $7023, $A260, $3E80;
  1870.     {$ENDC}
  1871. FUNCTION PBDTGetIconAsync(paramBlock: DTPBPtr): OSErr;
  1872.     {$IFC NOT GENERATINGCFM}
  1873.     INLINE $205F, $7023, $A660, $3E80;
  1874.     {$ENDC}
  1875. FUNCTION PBDTGetIconInfoSync(paramBlock: DTPBPtr): OSErr;
  1876.     {$IFC NOT GENERATINGCFM}
  1877.     INLINE $205F, $7024, $A260, $3E80;
  1878.     {$ENDC}
  1879. FUNCTION PBDTGetIconInfoAsync(paramBlock: DTPBPtr): OSErr;
  1880.     {$IFC NOT GENERATINGCFM}
  1881.     INLINE $205F, $7024, $A660, $3E80;
  1882.     {$ENDC}
  1883. FUNCTION PBDTAddAPPLSync(paramBlock: DTPBPtr): OSErr;
  1884.     {$IFC NOT GENERATINGCFM}
  1885.     INLINE $205F, $7025, $A260, $3E80;
  1886.     {$ENDC}
  1887. FUNCTION PBDTAddAPPLAsync(paramBlock: DTPBPtr): OSErr;
  1888.     {$IFC NOT GENERATINGCFM}
  1889.     INLINE $205F, $7025, $A660, $3E80;
  1890.     {$ENDC}
  1891. FUNCTION PBDTRemoveAPPLSync(paramBlock: DTPBPtr): OSErr;
  1892.     {$IFC NOT GENERATINGCFM}
  1893.     INLINE $205F, $7026, $A260, $3E80;
  1894.     {$ENDC}
  1895. FUNCTION PBDTRemoveAPPLAsync(paramBlock: DTPBPtr): OSErr;
  1896.     {$IFC NOT GENERATINGCFM}
  1897.     INLINE $205F, $7026, $A660, $3E80;
  1898.     {$ENDC}
  1899. FUNCTION PBDTGetAPPLSync(paramBlock: DTPBPtr): OSErr;
  1900.     {$IFC NOT GENERATINGCFM}
  1901.     INLINE $205F, $7027, $A260, $3E80;
  1902.     {$ENDC}
  1903. FUNCTION PBDTGetAPPLAsync(paramBlock: DTPBPtr): OSErr;
  1904.     {$IFC NOT GENERATINGCFM}
  1905.     INLINE $205F, $7027, $A660, $3E80;
  1906.     {$ENDC}
  1907. FUNCTION PBDTSetCommentSync(paramBlock: DTPBPtr): OSErr;
  1908.     {$IFC NOT GENERATINGCFM}
  1909.     INLINE $205F, $7028, $A260, $3E80;
  1910.     {$ENDC}
  1911. FUNCTION PBDTSetCommentAsync(paramBlock: DTPBPtr): OSErr;
  1912.     {$IFC NOT GENERATINGCFM}
  1913.     INLINE $205F, $7028, $A660, $3E80;
  1914.     {$ENDC}
  1915. FUNCTION PBDTRemoveCommentSync(paramBlock: DTPBPtr): OSErr;
  1916.     {$IFC NOT GENERATINGCFM}
  1917.     INLINE $205F, $7029, $A260, $3E80;
  1918.     {$ENDC}
  1919. FUNCTION PBDTRemoveCommentAsync(paramBlock: DTPBPtr): OSErr;
  1920.     {$IFC NOT GENERATINGCFM}
  1921.     INLINE $205F, $7029, $A660, $3E80;
  1922.     {$ENDC}
  1923. FUNCTION PBDTGetCommentSync(paramBlock: DTPBPtr): OSErr;
  1924.     {$IFC NOT GENERATINGCFM}
  1925.     INLINE $205F, $702A, $A260, $3E80;
  1926.     {$ENDC}
  1927. FUNCTION PBDTGetCommentAsync(paramBlock: DTPBPtr): OSErr;
  1928.     {$IFC NOT GENERATINGCFM}
  1929.     INLINE $205F, $702A, $A660, $3E80;
  1930.     {$ENDC}
  1931. FUNCTION PBDTFlushSync(paramBlock: DTPBPtr): OSErr;
  1932.     {$IFC NOT GENERATINGCFM}
  1933.     INLINE $205F, $702B, $A260, $3E80;
  1934.     {$ENDC}
  1935. FUNCTION PBDTFlushAsync(paramBlock: DTPBPtr): OSErr;
  1936.     {$IFC NOT GENERATINGCFM}
  1937.     INLINE $205F, $702B, $A660, $3E80;
  1938.     {$ENDC}
  1939. FUNCTION PBDTResetSync(paramBlock: DTPBPtr): OSErr;
  1940.     {$IFC NOT GENERATINGCFM}
  1941.     INLINE $205F, $702C, $A260, $3E80;
  1942.     {$ENDC}
  1943. FUNCTION PBDTResetAsync(paramBlock: DTPBPtr): OSErr;
  1944.     {$IFC NOT GENERATINGCFM}
  1945.     INLINE $205F, $702C, $A660, $3E80;
  1946.     {$ENDC}
  1947. FUNCTION PBDTGetInfoSync(paramBlock: DTPBPtr): OSErr;
  1948.     {$IFC NOT GENERATINGCFM}
  1949.     INLINE $205F, $702D, $A260, $3E80;
  1950.     {$ENDC}
  1951. FUNCTION PBDTGetInfoAsync(paramBlock: DTPBPtr): OSErr;
  1952.     {$IFC NOT GENERATINGCFM}
  1953.     INLINE $205F, $702D, $A660, $3E80;
  1954.     {$ENDC}
  1955. FUNCTION PBDTOpenInform(paramBlock: DTPBPtr): OSErr;
  1956.     {$IFC NOT GENERATINGCFM}
  1957.     INLINE $205F, $702E, $A060, $3E80;
  1958.     {$ENDC}
  1959. FUNCTION PBDTDeleteSync(paramBlock: DTPBPtr): OSErr;
  1960.     {$IFC NOT GENERATINGCFM}
  1961.     INLINE $205F, $702F, $A060, $3E80;
  1962.     {$ENDC}
  1963. FUNCTION PBDTDeleteAsync(paramBlock: DTPBPtr): OSErr;
  1964.     {$IFC NOT GENERATINGCFM}
  1965.     INLINE $205F, $702F, $A460, $3E80;
  1966.     {$ENDC}
  1967. {  VolumeMount traps  }
  1968. FUNCTION PBGetVolMountInfoSize(paramBlock: ParmBlkPtr): OSErr;
  1969.     {$IFC NOT GENERATINGCFM}
  1970.     INLINE $205F, $703F, $A260, $3E80;
  1971.     {$ENDC}
  1972. FUNCTION PBGetVolMountInfo(paramBlock: ParmBlkPtr): OSErr;
  1973.     {$IFC NOT GENERATINGCFM}
  1974.     INLINE $205F, $7040, $A260, $3E80;
  1975.     {$ENDC}
  1976. FUNCTION PBVolumeMount(paramBlock: ParmBlkPtr): OSErr;
  1977.     {$IFC NOT GENERATINGCFM}
  1978.     INLINE $205F, $7041, $A260, $3E80;
  1979.     {$ENDC}
  1980. {  FSp traps  }
  1981. FUNCTION FSMakeFSSpec(vRefNum: INTEGER; dirID: LONGINT; fileName: ConstStr255Param; VAR spec: FSSpec): OSErr;
  1982.     {$IFC NOT GENERATINGCFM}
  1983.     INLINE $7001, $AA52;
  1984.     {$ENDC}
  1985. FUNCTION FSpOpenDF({CONST}VAR spec: FSSpec; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
  1986.     {$IFC NOT GENERATINGCFM}
  1987.     INLINE $7002, $AA52;
  1988.     {$ENDC}
  1989. FUNCTION FSpOpenRF({CONST}VAR spec: FSSpec; permission: ByteParameter; VAR refNum: INTEGER): OSErr;
  1990.     {$IFC NOT GENERATINGCFM}
  1991.     INLINE $7003, $AA52;
  1992.     {$ENDC}
  1993. FUNCTION FSpCreate({CONST}VAR spec: FSSpec; creator: OSType; fileType: OSType; scriptTag: ScriptCode): OSErr;
  1994.     {$IFC NOT GENERATINGCFM}
  1995.     INLINE $7004, $AA52;
  1996.     {$ENDC}
  1997. FUNCTION FSpDirCreate({CONST}VAR spec: FSSpec; scriptTag: ScriptCode; VAR createdDirID: LONGINT): OSErr;
  1998.     {$IFC NOT GENERATINGCFM}
  1999.     INLINE $7005, $AA52;
  2000.     {$ENDC}
  2001. FUNCTION FSpDelete({CONST}VAR spec: FSSpec): OSErr;
  2002.     {$IFC NOT GENERATINGCFM}
  2003.     INLINE $7006, $AA52;
  2004.     {$ENDC}
  2005. FUNCTION FSpGetFInfo({CONST}VAR spec: FSSpec; VAR fndrInfo: FInfo): OSErr;
  2006.     {$IFC NOT GENERATINGCFM}
  2007.     INLINE $7007, $AA52;
  2008.     {$ENDC}
  2009. FUNCTION FSpSetFInfo({CONST}VAR spec: FSSpec; {CONST}VAR fndrInfo: FInfo): OSErr;
  2010.     {$IFC NOT GENERATINGCFM}
  2011.     INLINE $7008, $AA52;
  2012.     {$ENDC}
  2013. FUNCTION FSpSetFLock({CONST}VAR spec: FSSpec): OSErr;
  2014.     {$IFC NOT GENERATINGCFM}
  2015.     INLINE $7009, $AA52;
  2016.     {$ENDC}
  2017. FUNCTION FSpRstFLock({CONST}VAR spec: FSSpec): OSErr;
  2018.     {$IFC NOT GENERATINGCFM}
  2019.     INLINE $700A, $AA52;
  2020.     {$ENDC}
  2021. FUNCTION FSpRename({CONST}VAR spec: FSSpec; newName: ConstStr255Param): OSErr;
  2022.     {$IFC NOT GENERATINGCFM}
  2023.     INLINE $700B, $AA52;
  2024.     {$ENDC}
  2025. FUNCTION FSpCatMove({CONST}VAR source: FSSpec; {CONST}VAR dest: FSSpec): OSErr;
  2026.     {$IFC NOT GENERATINGCFM}
  2027.     INLINE $700C, $AA52;
  2028.     {$ENDC}
  2029. FUNCTION FSpExchangeFiles({CONST}VAR source: FSSpec; {CONST}VAR dest: FSSpec): OSErr;
  2030.     {$IFC NOT GENERATINGCFM}
  2031.     INLINE $700F, $AA52;
  2032.     {$ENDC}
  2033. FUNCTION PBShareSync(paramBlock: HParmBlkPtr): OSErr;
  2034.     {$IFC NOT GENERATINGCFM}
  2035.     INLINE $205F, $7042, $A260, $3E80;
  2036.     {$ENDC}
  2037. FUNCTION PBShareAsync(paramBlock: HParmBlkPtr): OSErr;
  2038.     {$IFC NOT GENERATINGCFM}
  2039.     INLINE $205F, $7042, $A660, $3E80;
  2040.     {$ENDC}
  2041. FUNCTION PBUnshareSync(paramBlock: HParmBlkPtr): OSErr;
  2042.     {$IFC NOT GENERATINGCFM}
  2043.     INLINE $205F, $7043, $A260, $3E80;
  2044.     {$ENDC}
  2045. FUNCTION PBUnshareAsync(paramBlock: HParmBlkPtr): OSErr;
  2046.     {$IFC NOT GENERATINGCFM}
  2047.     INLINE $205F, $7043, $A660, $3E80;
  2048.     {$ENDC}
  2049. FUNCTION PBGetUGEntrySync(paramBlock: HParmBlkPtr): OSErr;
  2050.     {$IFC NOT GENERATINGCFM}
  2051.     INLINE $205F, $7044, $A260, $3E80;
  2052.     {$ENDC}
  2053. FUNCTION PBGetUGEntryAsync(paramBlock: HParmBlkPtr): OSErr;
  2054.     {$IFC NOT GENERATINGCFM}
  2055.     INLINE $205F, $7044, $A660, $3E80;
  2056.     {$ENDC}
  2057. {$IFC OLDROUTINENAMES  & NOT GENERATINGCFM }
  2058. {
  2059.     PBGetAltAccess and PBSetAltAccess are obsolete and will not be supported 
  2060.     on PowerPC. Equivalent functionality is provided by the routines 
  2061.     PBGetForeignPrivs and PBSetForeignPrivs.
  2062. }
  2063. FUNCTION PBGetAltAccessSync(paramBlock: HParmBlkPtr): OSErr;
  2064.     {$IFC NOT GENERATINGCFM}
  2065.     INLINE $205F, $7060, $A060, $3E80;
  2066.     {$ENDC}
  2067. FUNCTION PBGetAltAccessAsync(paramBlock: HParmBlkPtr): OSErr;
  2068.     {$IFC NOT GENERATINGCFM}
  2069.     INLINE $205F, $7060, $A460, $3E80;
  2070.     {$ENDC}
  2071. FUNCTION PBSetAltAccessSync(paramBlock: HParmBlkPtr): OSErr;
  2072.     {$IFC NOT GENERATINGCFM}
  2073.     INLINE $205F, $7061, $A060, $3E80;
  2074.     {$ENDC}
  2075. FUNCTION PBSetAltAccessAsync(paramBlock: HParmBlkPtr): OSErr;
  2076.     {$IFC NOT GENERATINGCFM}
  2077.     INLINE $205F, $7061, $A460, $3E80;
  2078.     {$ENDC}
  2079. FUNCTION PBGetAltAccess(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2080. FUNCTION PBSetAltAccess(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2081. {$ENDC}
  2082. {$IFC OLDROUTINENAMES }
  2083. {
  2084.     The PBxxx() routines are obsolete.  
  2085.     
  2086.     Use the PBxxxSync() or PBxxxAsync() version instead.
  2087. }
  2088. FUNCTION PBGetVInfo(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2089. FUNCTION PBXGetVolInfo(paramBlock: XVolumeParamPtr; async: BOOLEAN): OSErr;
  2090. FUNCTION PBGetVol(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2091. FUNCTION PBSetVol(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2092. FUNCTION PBFlushVol(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2093. FUNCTION PBCreate(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2094. FUNCTION PBDelete(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2095. FUNCTION PBOpenDF(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2096. FUNCTION PBOpenRF(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2097. FUNCTION PBRename(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2098. FUNCTION PBGetFInfo(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2099. FUNCTION PBSetFInfo(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2100. FUNCTION PBSetFLock(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2101. FUNCTION PBRstFLock(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2102. FUNCTION PBSetFVers(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2103. FUNCTION PBAllocate(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2104. FUNCTION PBGetEOF(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2105. FUNCTION PBSetEOF(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2106. FUNCTION PBGetFPos(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2107. FUNCTION PBSetFPos(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2108. FUNCTION PBFlushFile(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2109. FUNCTION PBCatSearch(paramBlock: CSParamPtr; async: BOOLEAN): OSErr;
  2110. FUNCTION PBOpenWD(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
  2111. FUNCTION PBCloseWD(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
  2112. FUNCTION PBHSetVol(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
  2113. FUNCTION PBHGetVol(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
  2114. FUNCTION PBCatMove(paramBlock: CMovePBPtr; async: BOOLEAN): OSErr;
  2115. FUNCTION PBDirCreate(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2116. FUNCTION PBGetWDInfo(paramBlock: WDPBPtr; async: BOOLEAN): OSErr;
  2117. FUNCTION PBGetFCBInfo(paramBlock: FCBPBPtr; async: BOOLEAN): OSErr;
  2118. FUNCTION PBGetCatInfo(paramBlock: CInfoPBPtr; async: BOOLEAN): OSErr;
  2119. FUNCTION PBSetCatInfo(paramBlock: CInfoPBPtr; async: BOOLEAN): OSErr;
  2120. FUNCTION PBAllocContig(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2121. FUNCTION PBLockRange(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2122. FUNCTION PBUnlockRange(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2123. FUNCTION PBSetVInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2124. FUNCTION PBHGetVInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2125. FUNCTION PBHOpen(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2126. FUNCTION PBHOpenRF(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2127. FUNCTION PBHOpenDF(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2128. FUNCTION PBHCreate(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2129. FUNCTION PBHDelete(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2130. FUNCTION PBHRename(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2131. FUNCTION PBHRstFLock(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2132. FUNCTION PBHSetFLock(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2133. FUNCTION PBHGetFInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2134. FUNCTION PBHSetFInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2135. FUNCTION PBMakeFSSpec(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2136. FUNCTION PBHGetVolParms(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2137. FUNCTION PBHGetLogInInfo(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2138. FUNCTION PBHGetDirAccess(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2139. FUNCTION PBHSetDirAccess(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2140. FUNCTION PBHMapID(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2141. FUNCTION PBHMapName(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2142. FUNCTION PBHCopyFile(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2143. FUNCTION PBHMoveRename(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2144. FUNCTION PBHOpenDeny(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2145. FUNCTION PBHOpenRFDeny(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2146. FUNCTION PBExchangeFiles(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2147. FUNCTION PBCreateFileIDRef(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2148. FUNCTION PBResolveFileIDRef(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2149. FUNCTION PBDeleteFileIDRef(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2150. FUNCTION PBGetForeignPrivs(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2151. FUNCTION PBSetForeignPrivs(paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2152. FUNCTION PBDTAddIcon(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2153. FUNCTION PBDTGetIcon(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2154. FUNCTION PBDTGetIconInfo(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2155. FUNCTION PBDTAddAPPL(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2156. FUNCTION PBDTRemoveAPPL(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2157. FUNCTION PBDTGetAPPL(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2158. FUNCTION PBDTSetComment(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2159. FUNCTION PBDTRemoveComment(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2160. FUNCTION PBDTGetComment(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2161. FUNCTION PBDTFlush(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2162. FUNCTION PBDTReset(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2163. FUNCTION PBDTGetInfo(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2164. FUNCTION PBDTDelete(paramBlock: DTPBPtr; async: BOOLEAN): OSErr;
  2165. {$IFC OLDROUTINELOCATIONS }
  2166. FUNCTION PBOpen(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2167. FUNCTION PBClose(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2168. FUNCTION PBRead(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2169. FUNCTION PBWrite(paramBlock: ParmBlkPtr; async: BOOLEAN): OSErr;
  2170. {$ENDC}
  2171. {$ENDC}
  2172.  
  2173. { $ALIGN RESET}
  2174. { $POP}
  2175.  
  2176. {$ENDC} {__FILES__}
  2177.  
  2178.  IMPLEMENTATION
  2179.  END.
  2180.  
  2181.